cen

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 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 AttachInstance

type AttachInstance struct {
	pulumi.CustomResourceState

	// The ID of the cen.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The create time of the cen attaching instance.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The ID of the instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The owner ID of the instance.
	InstanceOwnerId pulumi.StringOutput `pulumi:"instanceOwnerId"`
	// The region ID of the instance.
	InstanceRegionId pulumi.StringOutput `pulumi:"instanceRegionId"`
	// The type of the instance. Valid values: `VPC`, `DCGW`.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// The status of the cen attaching instance.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a resource to manage cen attach instance ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewAttachInstance(ctx, "foo", &cen.AttachInstanceArgs{
			CenId:            pulumi.String("cen-12ar8uclj68sg17q7y20v9gil"),
			InstanceId:       pulumi.String("vpc-2fe5dpn0av2m859gp68rhk2dc"),
			InstanceRegionId: pulumi.String("cn-beijing"),
			InstanceType:     pulumi.String("VPC"),
		})
		if err != nil {
			return err
		}
		_, err = cen.NewAttachInstance(ctx, "foo1", &cen.AttachInstanceArgs{
			CenId:            pulumi.String("cen-12ar8uclj68sg17q7y20v9gil"),
			InstanceId:       pulumi.String("vpc-in66ktl5t24g8gbssz0sqva1"),
			InstanceRegionId: pulumi.String("cn-beijing"),
			InstanceType:     pulumi.String("VPC"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cen attach instance can be imported using the CenId:InstanceId:InstanceType:RegionId, e.g.

```sh

$ pulumi import volcengine:cen/attachInstance:AttachInstance default cen-7qthudw0ll6jmc***:vpc-2fexiqjlgjif45oxruvso****:VPC:cn-beijing

```

func GetAttachInstance

func GetAttachInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AttachInstanceState, opts ...pulumi.ResourceOption) (*AttachInstance, error)

GetAttachInstance gets an existing AttachInstance 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 NewAttachInstance

func NewAttachInstance(ctx *pulumi.Context,
	name string, args *AttachInstanceArgs, opts ...pulumi.ResourceOption) (*AttachInstance, error)

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

func (*AttachInstance) ElementType

func (*AttachInstance) ElementType() reflect.Type

func (*AttachInstance) ToAttachInstanceOutput

func (i *AttachInstance) ToAttachInstanceOutput() AttachInstanceOutput

func (*AttachInstance) ToAttachInstanceOutputWithContext

func (i *AttachInstance) ToAttachInstanceOutputWithContext(ctx context.Context) AttachInstanceOutput

type AttachInstanceArgs

type AttachInstanceArgs struct {
	// The ID of the cen.
	CenId pulumi.StringInput
	// The ID of the instance.
	InstanceId pulumi.StringInput
	// The owner ID of the instance.
	InstanceOwnerId pulumi.StringPtrInput
	// The region ID of the instance.
	InstanceRegionId pulumi.StringInput
	// The type of the instance. Valid values: `VPC`, `DCGW`.
	InstanceType pulumi.StringInput
}

The set of arguments for constructing a AttachInstance resource.

func (AttachInstanceArgs) ElementType

func (AttachInstanceArgs) ElementType() reflect.Type

type AttachInstanceArray

type AttachInstanceArray []AttachInstanceInput

func (AttachInstanceArray) ElementType

func (AttachInstanceArray) ElementType() reflect.Type

func (AttachInstanceArray) ToAttachInstanceArrayOutput

func (i AttachInstanceArray) ToAttachInstanceArrayOutput() AttachInstanceArrayOutput

func (AttachInstanceArray) ToAttachInstanceArrayOutputWithContext

func (i AttachInstanceArray) ToAttachInstanceArrayOutputWithContext(ctx context.Context) AttachInstanceArrayOutput

type AttachInstanceArrayInput

type AttachInstanceArrayInput interface {
	pulumi.Input

	ToAttachInstanceArrayOutput() AttachInstanceArrayOutput
	ToAttachInstanceArrayOutputWithContext(context.Context) AttachInstanceArrayOutput
}

AttachInstanceArrayInput is an input type that accepts AttachInstanceArray and AttachInstanceArrayOutput values. You can construct a concrete instance of `AttachInstanceArrayInput` via:

AttachInstanceArray{ AttachInstanceArgs{...} }

type AttachInstanceArrayOutput

type AttachInstanceArrayOutput struct{ *pulumi.OutputState }

func (AttachInstanceArrayOutput) ElementType

func (AttachInstanceArrayOutput) ElementType() reflect.Type

func (AttachInstanceArrayOutput) Index

func (AttachInstanceArrayOutput) ToAttachInstanceArrayOutput

func (o AttachInstanceArrayOutput) ToAttachInstanceArrayOutput() AttachInstanceArrayOutput

func (AttachInstanceArrayOutput) ToAttachInstanceArrayOutputWithContext

func (o AttachInstanceArrayOutput) ToAttachInstanceArrayOutputWithContext(ctx context.Context) AttachInstanceArrayOutput

type AttachInstanceInput

type AttachInstanceInput interface {
	pulumi.Input

	ToAttachInstanceOutput() AttachInstanceOutput
	ToAttachInstanceOutputWithContext(ctx context.Context) AttachInstanceOutput
}

type AttachInstanceMap

type AttachInstanceMap map[string]AttachInstanceInput

func (AttachInstanceMap) ElementType

func (AttachInstanceMap) ElementType() reflect.Type

func (AttachInstanceMap) ToAttachInstanceMapOutput

func (i AttachInstanceMap) ToAttachInstanceMapOutput() AttachInstanceMapOutput

func (AttachInstanceMap) ToAttachInstanceMapOutputWithContext

func (i AttachInstanceMap) ToAttachInstanceMapOutputWithContext(ctx context.Context) AttachInstanceMapOutput

type AttachInstanceMapInput

type AttachInstanceMapInput interface {
	pulumi.Input

	ToAttachInstanceMapOutput() AttachInstanceMapOutput
	ToAttachInstanceMapOutputWithContext(context.Context) AttachInstanceMapOutput
}

AttachInstanceMapInput is an input type that accepts AttachInstanceMap and AttachInstanceMapOutput values. You can construct a concrete instance of `AttachInstanceMapInput` via:

AttachInstanceMap{ "key": AttachInstanceArgs{...} }

type AttachInstanceMapOutput

type AttachInstanceMapOutput struct{ *pulumi.OutputState }

func (AttachInstanceMapOutput) ElementType

func (AttachInstanceMapOutput) ElementType() reflect.Type

func (AttachInstanceMapOutput) MapIndex

func (AttachInstanceMapOutput) ToAttachInstanceMapOutput

func (o AttachInstanceMapOutput) ToAttachInstanceMapOutput() AttachInstanceMapOutput

func (AttachInstanceMapOutput) ToAttachInstanceMapOutputWithContext

func (o AttachInstanceMapOutput) ToAttachInstanceMapOutputWithContext(ctx context.Context) AttachInstanceMapOutput

type AttachInstanceOutput

type AttachInstanceOutput struct{ *pulumi.OutputState }

func (AttachInstanceOutput) CenId

The ID of the cen.

func (AttachInstanceOutput) CreationTime

func (o AttachInstanceOutput) CreationTime() pulumi.StringOutput

The create time of the cen attaching instance.

func (AttachInstanceOutput) ElementType

func (AttachInstanceOutput) ElementType() reflect.Type

func (AttachInstanceOutput) InstanceId

func (o AttachInstanceOutput) InstanceId() pulumi.StringOutput

The ID of the instance.

func (AttachInstanceOutput) InstanceOwnerId

func (o AttachInstanceOutput) InstanceOwnerId() pulumi.StringOutput

The owner ID of the instance.

func (AttachInstanceOutput) InstanceRegionId

func (o AttachInstanceOutput) InstanceRegionId() pulumi.StringOutput

The region ID of the instance.

func (AttachInstanceOutput) InstanceType

func (o AttachInstanceOutput) InstanceType() pulumi.StringOutput

The type of the instance. Valid values: `VPC`, `DCGW`.

func (AttachInstanceOutput) Status

The status of the cen attaching instance.

func (AttachInstanceOutput) ToAttachInstanceOutput

func (o AttachInstanceOutput) ToAttachInstanceOutput() AttachInstanceOutput

func (AttachInstanceOutput) ToAttachInstanceOutputWithContext

func (o AttachInstanceOutput) ToAttachInstanceOutputWithContext(ctx context.Context) AttachInstanceOutput

type AttachInstanceState

type AttachInstanceState struct {
	// The ID of the cen.
	CenId pulumi.StringPtrInput
	// The create time of the cen attaching instance.
	CreationTime pulumi.StringPtrInput
	// The ID of the instance.
	InstanceId pulumi.StringPtrInput
	// The owner ID of the instance.
	InstanceOwnerId pulumi.StringPtrInput
	// The region ID of the instance.
	InstanceRegionId pulumi.StringPtrInput
	// The type of the instance. Valid values: `VPC`, `DCGW`.
	InstanceType pulumi.StringPtrInput
	// The status of the cen attaching instance.
	Status pulumi.StringPtrInput
}

func (AttachInstanceState) ElementType

func (AttachInstanceState) ElementType() reflect.Type

type AttachInstancesArgs

type AttachInstancesArgs struct {
	// A cen ID.
	CenId *string `pulumi:"cenId"`
	// An instance ID.
	InstanceId *string `pulumi:"instanceId"`
	// A region id of instance.
	InstanceRegionId *string `pulumi:"instanceRegionId"`
	// An instance type.
	InstanceType *string `pulumi:"instanceType"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking AttachInstances.

type AttachInstancesAttachInstance

type AttachInstancesAttachInstance struct {
	// A cen ID.
	CenId string `pulumi:"cenId"`
	// The create time of the cen attaching instance.
	CreationTime string `pulumi:"creationTime"`
	// An instance ID.
	InstanceId string `pulumi:"instanceId"`
	// The owner ID of the instance.
	InstanceOwnerId string `pulumi:"instanceOwnerId"`
	// A region id of instance.
	InstanceRegionId string `pulumi:"instanceRegionId"`
	// An instance type.
	InstanceType string `pulumi:"instanceType"`
	// The status of the cen attaching instance.
	Status string `pulumi:"status"`
}

type AttachInstancesAttachInstanceArgs

type AttachInstancesAttachInstanceArgs struct {
	// A cen ID.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// The create time of the cen attaching instance.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// An instance ID.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The owner ID of the instance.
	InstanceOwnerId pulumi.StringInput `pulumi:"instanceOwnerId"`
	// A region id of instance.
	InstanceRegionId pulumi.StringInput `pulumi:"instanceRegionId"`
	// An instance type.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// The status of the cen attaching instance.
	Status pulumi.StringInput `pulumi:"status"`
}

func (AttachInstancesAttachInstanceArgs) ElementType

func (AttachInstancesAttachInstanceArgs) ToAttachInstancesAttachInstanceOutput

func (i AttachInstancesAttachInstanceArgs) ToAttachInstancesAttachInstanceOutput() AttachInstancesAttachInstanceOutput

func (AttachInstancesAttachInstanceArgs) ToAttachInstancesAttachInstanceOutputWithContext

func (i AttachInstancesAttachInstanceArgs) ToAttachInstancesAttachInstanceOutputWithContext(ctx context.Context) AttachInstancesAttachInstanceOutput

type AttachInstancesAttachInstanceArray

type AttachInstancesAttachInstanceArray []AttachInstancesAttachInstanceInput

func (AttachInstancesAttachInstanceArray) ElementType

func (AttachInstancesAttachInstanceArray) ToAttachInstancesAttachInstanceArrayOutput

func (i AttachInstancesAttachInstanceArray) ToAttachInstancesAttachInstanceArrayOutput() AttachInstancesAttachInstanceArrayOutput

func (AttachInstancesAttachInstanceArray) ToAttachInstancesAttachInstanceArrayOutputWithContext

func (i AttachInstancesAttachInstanceArray) ToAttachInstancesAttachInstanceArrayOutputWithContext(ctx context.Context) AttachInstancesAttachInstanceArrayOutput

type AttachInstancesAttachInstanceArrayInput

type AttachInstancesAttachInstanceArrayInput interface {
	pulumi.Input

	ToAttachInstancesAttachInstanceArrayOutput() AttachInstancesAttachInstanceArrayOutput
	ToAttachInstancesAttachInstanceArrayOutputWithContext(context.Context) AttachInstancesAttachInstanceArrayOutput
}

AttachInstancesAttachInstanceArrayInput is an input type that accepts AttachInstancesAttachInstanceArray and AttachInstancesAttachInstanceArrayOutput values. You can construct a concrete instance of `AttachInstancesAttachInstanceArrayInput` via:

AttachInstancesAttachInstanceArray{ AttachInstancesAttachInstanceArgs{...} }

type AttachInstancesAttachInstanceArrayOutput

type AttachInstancesAttachInstanceArrayOutput struct{ *pulumi.OutputState }

func (AttachInstancesAttachInstanceArrayOutput) ElementType

func (AttachInstancesAttachInstanceArrayOutput) Index

func (AttachInstancesAttachInstanceArrayOutput) ToAttachInstancesAttachInstanceArrayOutput

func (o AttachInstancesAttachInstanceArrayOutput) ToAttachInstancesAttachInstanceArrayOutput() AttachInstancesAttachInstanceArrayOutput

func (AttachInstancesAttachInstanceArrayOutput) ToAttachInstancesAttachInstanceArrayOutputWithContext

func (o AttachInstancesAttachInstanceArrayOutput) ToAttachInstancesAttachInstanceArrayOutputWithContext(ctx context.Context) AttachInstancesAttachInstanceArrayOutput

type AttachInstancesAttachInstanceInput

type AttachInstancesAttachInstanceInput interface {
	pulumi.Input

	ToAttachInstancesAttachInstanceOutput() AttachInstancesAttachInstanceOutput
	ToAttachInstancesAttachInstanceOutputWithContext(context.Context) AttachInstancesAttachInstanceOutput
}

AttachInstancesAttachInstanceInput is an input type that accepts AttachInstancesAttachInstanceArgs and AttachInstancesAttachInstanceOutput values. You can construct a concrete instance of `AttachInstancesAttachInstanceInput` via:

AttachInstancesAttachInstanceArgs{...}

type AttachInstancesAttachInstanceOutput

type AttachInstancesAttachInstanceOutput struct{ *pulumi.OutputState }

func (AttachInstancesAttachInstanceOutput) CenId

A cen ID.

func (AttachInstancesAttachInstanceOutput) CreationTime

The create time of the cen attaching instance.

func (AttachInstancesAttachInstanceOutput) ElementType

func (AttachInstancesAttachInstanceOutput) InstanceId

An instance ID.

func (AttachInstancesAttachInstanceOutput) InstanceOwnerId

The owner ID of the instance.

func (AttachInstancesAttachInstanceOutput) InstanceRegionId

A region id of instance.

func (AttachInstancesAttachInstanceOutput) InstanceType

An instance type.

func (AttachInstancesAttachInstanceOutput) Status

The status of the cen attaching instance.

func (AttachInstancesAttachInstanceOutput) ToAttachInstancesAttachInstanceOutput

func (o AttachInstancesAttachInstanceOutput) ToAttachInstancesAttachInstanceOutput() AttachInstancesAttachInstanceOutput

func (AttachInstancesAttachInstanceOutput) ToAttachInstancesAttachInstanceOutputWithContext

func (o AttachInstancesAttachInstanceOutput) ToAttachInstancesAttachInstanceOutputWithContext(ctx context.Context) AttachInstancesAttachInstanceOutput

type AttachInstancesOutputArgs

type AttachInstancesOutputArgs struct {
	// A cen ID.
	CenId pulumi.StringPtrInput `pulumi:"cenId"`
	// An instance ID.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// A region id of instance.
	InstanceRegionId pulumi.StringPtrInput `pulumi:"instanceRegionId"`
	// An instance type.
	InstanceType pulumi.StringPtrInput `pulumi:"instanceType"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking AttachInstances.

func (AttachInstancesOutputArgs) ElementType

func (AttachInstancesOutputArgs) ElementType() reflect.Type

type AttachInstancesResult

type AttachInstancesResult struct {
	// The collection of cen attach instance query.
	AttachInstances []AttachInstancesAttachInstance `pulumi:"attachInstances"`
	// The ID of the cen.
	CenId *string `pulumi:"cenId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the instance.
	InstanceId *string `pulumi:"instanceId"`
	// The region id of the instance.
	InstanceRegionId *string `pulumi:"instanceRegionId"`
	// The type of the instance.
	InstanceType *string `pulumi:"instanceType"`
	OutputFile   *string `pulumi:"outputFile"`
	// The total count of cen attach instance query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by AttachInstances.

func AttachInstances

func AttachInstances(ctx *pulumi.Context, args *AttachInstancesArgs, opts ...pulumi.InvokeOption) (*AttachInstancesResult, error)

Use this data source to query detailed information of cen attach instances ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.AttachInstances(ctx, &cen.AttachInstancesArgs{
			CenId: pulumi.StringRef("cen-2bzrl3srxsv0g2dx0efyoojn3"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type AttachInstancesResultOutput

type AttachInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by AttachInstances.

func (AttachInstancesResultOutput) AttachInstances

The collection of cen attach instance query.

func (AttachInstancesResultOutput) CenId

The ID of the cen.

func (AttachInstancesResultOutput) ElementType

func (AttachInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (AttachInstancesResultOutput) InstanceId

The ID of the instance.

func (AttachInstancesResultOutput) InstanceRegionId

func (o AttachInstancesResultOutput) InstanceRegionId() pulumi.StringPtrOutput

The region id of the instance.

func (AttachInstancesResultOutput) InstanceType

The type of the instance.

func (AttachInstancesResultOutput) OutputFile

func (AttachInstancesResultOutput) ToAttachInstancesResultOutput

func (o AttachInstancesResultOutput) ToAttachInstancesResultOutput() AttachInstancesResultOutput

func (AttachInstancesResultOutput) ToAttachInstancesResultOutputWithContext

func (o AttachInstancesResultOutput) ToAttachInstancesResultOutputWithContext(ctx context.Context) AttachInstancesResultOutput

func (AttachInstancesResultOutput) TotalCount

The total count of cen attach instance query.

type BandwidthPackage

type BandwidthPackage struct {
	pulumi.CustomResourceState

	// The account ID of the cen bandwidth package.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The bandwidth of the cen bandwidth package. Value: 2~10000.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// The billing type of the cen bandwidth package. Only support `PrePaid` and default value is `PrePaid`. Terraform will
	// only remove the PrePaid cen bandwidth package from the state file, not actually remove.
	BillingType pulumi.StringPtrOutput `pulumi:"billingType"`
	// The business status of the cen bandwidth package.
	BusinessStatus pulumi.StringOutput `pulumi:"businessStatus"`
	// The ID of the cen bandwidth package.
	CenBandwidthPackageId pulumi.StringOutput `pulumi:"cenBandwidthPackageId"`
	// The name of the cen bandwidth package.
	CenBandwidthPackageName pulumi.StringOutput `pulumi:"cenBandwidthPackageName"`
	// The cen IDs of the bandwidth package.
	CenIds pulumi.StringArrayOutput `pulumi:"cenIds"`
	// The create time of the cen bandwidth package.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The deleted time of the cen bandwidth package.
	DeletedTime pulumi.StringOutput `pulumi:"deletedTime"`
	// The description of the cen bandwidth package.
	Description pulumi.StringOutput `pulumi:"description"`
	// The expired time of the cen bandwidth package.
	ExpiredTime pulumi.StringOutput `pulumi:"expiredTime"`
	// The local geographic region set id of the cen bandwidth package. Valid value: `China`, `Asia`.
	LocalGeographicRegionSetId pulumi.StringPtrOutput `pulumi:"localGeographicRegionSetId"`
	// The peer geographic region set id of the cen bandwidth package. Valid value: `China`, `Asia`.
	PeerGeographicRegionSetId pulumi.StringPtrOutput `pulumi:"peerGeographicRegionSetId"`
	// The period of the cen bandwidth package. Default value is 1.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// The period unit of the cen bandwidth package. Value: `Month`, `Year`. Default value is `Month`.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// The ProjectName of the cen bandwidth package.
	ProjectName pulumi.StringPtrOutput `pulumi:"projectName"`
	// The remain bandwidth of the cen bandwidth package.
	RemainingBandwidth pulumi.IntOutput `pulumi:"remainingBandwidth"`
	// The status of the cen bandwidth package.
	Status pulumi.StringOutput `pulumi:"status"`
	// Tags.
	Tags BandwidthPackageTagArrayOutput `pulumi:"tags"`
	// The update time of the cen bandwidth package.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewBandwidthPackage(ctx, "foo", &cen.BandwidthPackageArgs{
			Bandwidth:                  pulumi.Int(32),
			BillingType:                pulumi.String("PrePaid"),
			CenBandwidthPackageName:    pulumi.String("tf-test"),
			Description:                pulumi.String("tf-test1"),
			LocalGeographicRegionSetId: pulumi.String("China"),
			PeerGeographicRegionSetId:  pulumi.String("China"),
			Period:                     pulumi.Int(1),
			PeriodUnit:                 pulumi.String("Year"),
			ProjectName:                pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CenBandwidthPackage can be imported using the id, e.g.

```sh

$ pulumi import volcengine:cen/bandwidthPackage:BandwidthPackage default cbp-4c2zaavbvh5f42****

```

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

type BandwidthPackageArgs

type BandwidthPackageArgs struct {
	// The bandwidth of the cen bandwidth package. Value: 2~10000.
	Bandwidth pulumi.IntPtrInput
	// The billing type of the cen bandwidth package. Only support `PrePaid` and default value is `PrePaid`. Terraform will
	// only remove the PrePaid cen bandwidth package from the state file, not actually remove.
	BillingType pulumi.StringPtrInput
	// The name of the cen bandwidth package.
	CenBandwidthPackageName pulumi.StringPtrInput
	// The description of the cen bandwidth package.
	Description pulumi.StringPtrInput
	// The local geographic region set id of the cen bandwidth package. Valid value: `China`, `Asia`.
	LocalGeographicRegionSetId pulumi.StringPtrInput
	// The peer geographic region set id of the cen bandwidth package. Valid value: `China`, `Asia`.
	PeerGeographicRegionSetId pulumi.StringPtrInput
	// The period of the cen bandwidth package. Default value is 1.
	Period pulumi.IntPtrInput
	// The period unit of the cen bandwidth package. Value: `Month`, `Year`. Default value is `Month`.
	PeriodUnit pulumi.StringPtrInput
	// The ProjectName of the cen bandwidth package.
	ProjectName pulumi.StringPtrInput
	// Tags.
	Tags BandwidthPackageTagArrayInput
}

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 BandwidthPackageAssociate

type BandwidthPackageAssociate struct {
	pulumi.CustomResourceState

	// The ID of the cen bandwidth package.
	CenBandwidthPackageId pulumi.StringOutput `pulumi:"cenBandwidthPackageId"`
	// The ID of the cen.
	CenId pulumi.StringOutput `pulumi:"cenId"`
}

Provides a resource to manage cen bandwidth package associate ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewBandwidthPackageAssociate(ctx, "foo", &cen.BandwidthPackageAssociateArgs{
			CenBandwidthPackageId: pulumi.String("cbp-2bzeew3s8p79c2dx0eeohej4x"),
			CenId:                 pulumi.String("cen-2bzrl3srxsv0g2dx0efyoojn3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cen bandwidth package associate can be imported using the CenBandwidthPackageId:CenId, e.g.

```sh

$ pulumi import volcengine:cen/bandwidthPackageAssociate:BandwidthPackageAssociate default cbp-4c2zaavbvh5fx****:cen-7qthudw0ll6jmc****

```

func GetBandwidthPackageAssociate

func GetBandwidthPackageAssociate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BandwidthPackageAssociateState, opts ...pulumi.ResourceOption) (*BandwidthPackageAssociate, error)

GetBandwidthPackageAssociate gets an existing BandwidthPackageAssociate 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 NewBandwidthPackageAssociate

func NewBandwidthPackageAssociate(ctx *pulumi.Context,
	name string, args *BandwidthPackageAssociateArgs, opts ...pulumi.ResourceOption) (*BandwidthPackageAssociate, error)

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

func (*BandwidthPackageAssociate) ElementType

func (*BandwidthPackageAssociate) ElementType() reflect.Type

func (*BandwidthPackageAssociate) ToBandwidthPackageAssociateOutput

func (i *BandwidthPackageAssociate) ToBandwidthPackageAssociateOutput() BandwidthPackageAssociateOutput

func (*BandwidthPackageAssociate) ToBandwidthPackageAssociateOutputWithContext

func (i *BandwidthPackageAssociate) ToBandwidthPackageAssociateOutputWithContext(ctx context.Context) BandwidthPackageAssociateOutput

type BandwidthPackageAssociateArgs

type BandwidthPackageAssociateArgs struct {
	// The ID of the cen bandwidth package.
	CenBandwidthPackageId pulumi.StringInput
	// The ID of the cen.
	CenId pulumi.StringInput
}

The set of arguments for constructing a BandwidthPackageAssociate resource.

func (BandwidthPackageAssociateArgs) ElementType

type BandwidthPackageAssociateArray

type BandwidthPackageAssociateArray []BandwidthPackageAssociateInput

func (BandwidthPackageAssociateArray) ElementType

func (BandwidthPackageAssociateArray) ToBandwidthPackageAssociateArrayOutput

func (i BandwidthPackageAssociateArray) ToBandwidthPackageAssociateArrayOutput() BandwidthPackageAssociateArrayOutput

func (BandwidthPackageAssociateArray) ToBandwidthPackageAssociateArrayOutputWithContext

func (i BandwidthPackageAssociateArray) ToBandwidthPackageAssociateArrayOutputWithContext(ctx context.Context) BandwidthPackageAssociateArrayOutput

type BandwidthPackageAssociateArrayInput

type BandwidthPackageAssociateArrayInput interface {
	pulumi.Input

	ToBandwidthPackageAssociateArrayOutput() BandwidthPackageAssociateArrayOutput
	ToBandwidthPackageAssociateArrayOutputWithContext(context.Context) BandwidthPackageAssociateArrayOutput
}

BandwidthPackageAssociateArrayInput is an input type that accepts BandwidthPackageAssociateArray and BandwidthPackageAssociateArrayOutput values. You can construct a concrete instance of `BandwidthPackageAssociateArrayInput` via:

BandwidthPackageAssociateArray{ BandwidthPackageAssociateArgs{...} }

type BandwidthPackageAssociateArrayOutput

type BandwidthPackageAssociateArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackageAssociateArrayOutput) ElementType

func (BandwidthPackageAssociateArrayOutput) Index

func (BandwidthPackageAssociateArrayOutput) ToBandwidthPackageAssociateArrayOutput

func (o BandwidthPackageAssociateArrayOutput) ToBandwidthPackageAssociateArrayOutput() BandwidthPackageAssociateArrayOutput

func (BandwidthPackageAssociateArrayOutput) ToBandwidthPackageAssociateArrayOutputWithContext

func (o BandwidthPackageAssociateArrayOutput) ToBandwidthPackageAssociateArrayOutputWithContext(ctx context.Context) BandwidthPackageAssociateArrayOutput

type BandwidthPackageAssociateInput

type BandwidthPackageAssociateInput interface {
	pulumi.Input

	ToBandwidthPackageAssociateOutput() BandwidthPackageAssociateOutput
	ToBandwidthPackageAssociateOutputWithContext(ctx context.Context) BandwidthPackageAssociateOutput
}

type BandwidthPackageAssociateMap

type BandwidthPackageAssociateMap map[string]BandwidthPackageAssociateInput

func (BandwidthPackageAssociateMap) ElementType

func (BandwidthPackageAssociateMap) ToBandwidthPackageAssociateMapOutput

func (i BandwidthPackageAssociateMap) ToBandwidthPackageAssociateMapOutput() BandwidthPackageAssociateMapOutput

func (BandwidthPackageAssociateMap) ToBandwidthPackageAssociateMapOutputWithContext

func (i BandwidthPackageAssociateMap) ToBandwidthPackageAssociateMapOutputWithContext(ctx context.Context) BandwidthPackageAssociateMapOutput

type BandwidthPackageAssociateMapInput

type BandwidthPackageAssociateMapInput interface {
	pulumi.Input

	ToBandwidthPackageAssociateMapOutput() BandwidthPackageAssociateMapOutput
	ToBandwidthPackageAssociateMapOutputWithContext(context.Context) BandwidthPackageAssociateMapOutput
}

BandwidthPackageAssociateMapInput is an input type that accepts BandwidthPackageAssociateMap and BandwidthPackageAssociateMapOutput values. You can construct a concrete instance of `BandwidthPackageAssociateMapInput` via:

BandwidthPackageAssociateMap{ "key": BandwidthPackageAssociateArgs{...} }

type BandwidthPackageAssociateMapOutput

type BandwidthPackageAssociateMapOutput struct{ *pulumi.OutputState }

func (BandwidthPackageAssociateMapOutput) ElementType

func (BandwidthPackageAssociateMapOutput) MapIndex

func (BandwidthPackageAssociateMapOutput) ToBandwidthPackageAssociateMapOutput

func (o BandwidthPackageAssociateMapOutput) ToBandwidthPackageAssociateMapOutput() BandwidthPackageAssociateMapOutput

func (BandwidthPackageAssociateMapOutput) ToBandwidthPackageAssociateMapOutputWithContext

func (o BandwidthPackageAssociateMapOutput) ToBandwidthPackageAssociateMapOutputWithContext(ctx context.Context) BandwidthPackageAssociateMapOutput

type BandwidthPackageAssociateOutput

type BandwidthPackageAssociateOutput struct{ *pulumi.OutputState }

func (BandwidthPackageAssociateOutput) CenBandwidthPackageId

func (o BandwidthPackageAssociateOutput) CenBandwidthPackageId() pulumi.StringOutput

The ID of the cen bandwidth package.

func (BandwidthPackageAssociateOutput) CenId

The ID of the cen.

func (BandwidthPackageAssociateOutput) ElementType

func (BandwidthPackageAssociateOutput) ToBandwidthPackageAssociateOutput

func (o BandwidthPackageAssociateOutput) ToBandwidthPackageAssociateOutput() BandwidthPackageAssociateOutput

func (BandwidthPackageAssociateOutput) ToBandwidthPackageAssociateOutputWithContext

func (o BandwidthPackageAssociateOutput) ToBandwidthPackageAssociateOutputWithContext(ctx context.Context) BandwidthPackageAssociateOutput

type BandwidthPackageAssociateState

type BandwidthPackageAssociateState struct {
	// The ID of the cen bandwidth package.
	CenBandwidthPackageId pulumi.StringPtrInput
	// The ID of the cen.
	CenId pulumi.StringPtrInput
}

func (BandwidthPackageAssociateState) 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) AccountId

The account ID of the cen bandwidth package.

func (BandwidthPackageOutput) Bandwidth

func (o BandwidthPackageOutput) Bandwidth() pulumi.IntOutput

The bandwidth of the cen bandwidth package. Value: 2~10000.

func (BandwidthPackageOutput) BillingType

The billing type of the cen bandwidth package. Only support `PrePaid` and default value is `PrePaid`. Terraform will only remove the PrePaid cen bandwidth package from the state file, not actually remove.

func (BandwidthPackageOutput) BusinessStatus

func (o BandwidthPackageOutput) BusinessStatus() pulumi.StringOutput

The business status of the cen bandwidth package.

func (BandwidthPackageOutput) CenBandwidthPackageId

func (o BandwidthPackageOutput) CenBandwidthPackageId() pulumi.StringOutput

The ID of the cen bandwidth package.

func (BandwidthPackageOutput) CenBandwidthPackageName

func (o BandwidthPackageOutput) CenBandwidthPackageName() pulumi.StringOutput

The name of the cen bandwidth package.

func (BandwidthPackageOutput) CenIds

The cen IDs of the bandwidth package.

func (BandwidthPackageOutput) CreationTime

func (o BandwidthPackageOutput) CreationTime() pulumi.StringOutput

The create time of the cen bandwidth package.

func (BandwidthPackageOutput) DeletedTime

func (o BandwidthPackageOutput) DeletedTime() pulumi.StringOutput

The deleted time of the cen bandwidth package.

func (BandwidthPackageOutput) Description

func (o BandwidthPackageOutput) Description() pulumi.StringOutput

The description of the cen bandwidth package.

func (BandwidthPackageOutput) ElementType

func (BandwidthPackageOutput) ElementType() reflect.Type

func (BandwidthPackageOutput) ExpiredTime

func (o BandwidthPackageOutput) ExpiredTime() pulumi.StringOutput

The expired time of the cen bandwidth package.

func (BandwidthPackageOutput) LocalGeographicRegionSetId

func (o BandwidthPackageOutput) LocalGeographicRegionSetId() pulumi.StringPtrOutput

The local geographic region set id of the cen bandwidth package. Valid value: `China`, `Asia`.

func (BandwidthPackageOutput) PeerGeographicRegionSetId

func (o BandwidthPackageOutput) PeerGeographicRegionSetId() pulumi.StringPtrOutput

The peer geographic region set id of the cen bandwidth package. Valid value: `China`, `Asia`.

func (BandwidthPackageOutput) Period

The period of the cen bandwidth package. Default value is 1.

func (BandwidthPackageOutput) PeriodUnit

The period unit of the cen bandwidth package. Value: `Month`, `Year`. Default value is `Month`.

func (BandwidthPackageOutput) ProjectName

The ProjectName of the cen bandwidth package.

func (BandwidthPackageOutput) RemainingBandwidth

func (o BandwidthPackageOutput) RemainingBandwidth() pulumi.IntOutput

The remain bandwidth of the cen bandwidth package.

func (BandwidthPackageOutput) Status

The status of the cen bandwidth package.

func (BandwidthPackageOutput) Tags

Tags.

func (BandwidthPackageOutput) ToBandwidthPackageOutput

func (o BandwidthPackageOutput) ToBandwidthPackageOutput() BandwidthPackageOutput

func (BandwidthPackageOutput) ToBandwidthPackageOutputWithContext

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

func (BandwidthPackageOutput) UpdateTime

The update time of the cen bandwidth package.

type BandwidthPackageState

type BandwidthPackageState struct {
	// The account ID of the cen bandwidth package.
	AccountId pulumi.StringPtrInput
	// The bandwidth of the cen bandwidth package. Value: 2~10000.
	Bandwidth pulumi.IntPtrInput
	// The billing type of the cen bandwidth package. Only support `PrePaid` and default value is `PrePaid`. Terraform will
	// only remove the PrePaid cen bandwidth package from the state file, not actually remove.
	BillingType pulumi.StringPtrInput
	// The business status of the cen bandwidth package.
	BusinessStatus pulumi.StringPtrInput
	// The ID of the cen bandwidth package.
	CenBandwidthPackageId pulumi.StringPtrInput
	// The name of the cen bandwidth package.
	CenBandwidthPackageName pulumi.StringPtrInput
	// The cen IDs of the bandwidth package.
	CenIds pulumi.StringArrayInput
	// The create time of the cen bandwidth package.
	CreationTime pulumi.StringPtrInput
	// The deleted time of the cen bandwidth package.
	DeletedTime pulumi.StringPtrInput
	// The description of the cen bandwidth package.
	Description pulumi.StringPtrInput
	// The expired time of the cen bandwidth package.
	ExpiredTime pulumi.StringPtrInput
	// The local geographic region set id of the cen bandwidth package. Valid value: `China`, `Asia`.
	LocalGeographicRegionSetId pulumi.StringPtrInput
	// The peer geographic region set id of the cen bandwidth package. Valid value: `China`, `Asia`.
	PeerGeographicRegionSetId pulumi.StringPtrInput
	// The period of the cen bandwidth package. Default value is 1.
	Period pulumi.IntPtrInput
	// The period unit of the cen bandwidth package. Value: `Month`, `Year`. Default value is `Month`.
	PeriodUnit pulumi.StringPtrInput
	// The ProjectName of the cen bandwidth package.
	ProjectName pulumi.StringPtrInput
	// The remain bandwidth of the cen bandwidth package.
	RemainingBandwidth pulumi.IntPtrInput
	// The status of the cen bandwidth package.
	Status pulumi.StringPtrInput
	// Tags.
	Tags BandwidthPackageTagArrayInput
	// The update time of the cen bandwidth package.
	UpdateTime pulumi.StringPtrInput
}

func (BandwidthPackageState) ElementType

func (BandwidthPackageState) ElementType() reflect.Type

type BandwidthPackageTag

type BandwidthPackageTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type BandwidthPackageTagArgs

type BandwidthPackageTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (BandwidthPackageTagArgs) ElementType

func (BandwidthPackageTagArgs) ElementType() reflect.Type

func (BandwidthPackageTagArgs) ToBandwidthPackageTagOutput

func (i BandwidthPackageTagArgs) ToBandwidthPackageTagOutput() BandwidthPackageTagOutput

func (BandwidthPackageTagArgs) ToBandwidthPackageTagOutputWithContext

func (i BandwidthPackageTagArgs) ToBandwidthPackageTagOutputWithContext(ctx context.Context) BandwidthPackageTagOutput

type BandwidthPackageTagArray

type BandwidthPackageTagArray []BandwidthPackageTagInput

func (BandwidthPackageTagArray) ElementType

func (BandwidthPackageTagArray) ElementType() reflect.Type

func (BandwidthPackageTagArray) ToBandwidthPackageTagArrayOutput

func (i BandwidthPackageTagArray) ToBandwidthPackageTagArrayOutput() BandwidthPackageTagArrayOutput

func (BandwidthPackageTagArray) ToBandwidthPackageTagArrayOutputWithContext

func (i BandwidthPackageTagArray) ToBandwidthPackageTagArrayOutputWithContext(ctx context.Context) BandwidthPackageTagArrayOutput

type BandwidthPackageTagArrayInput

type BandwidthPackageTagArrayInput interface {
	pulumi.Input

	ToBandwidthPackageTagArrayOutput() BandwidthPackageTagArrayOutput
	ToBandwidthPackageTagArrayOutputWithContext(context.Context) BandwidthPackageTagArrayOutput
}

BandwidthPackageTagArrayInput is an input type that accepts BandwidthPackageTagArray and BandwidthPackageTagArrayOutput values. You can construct a concrete instance of `BandwidthPackageTagArrayInput` via:

BandwidthPackageTagArray{ BandwidthPackageTagArgs{...} }

type BandwidthPackageTagArrayOutput

type BandwidthPackageTagArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackageTagArrayOutput) ElementType

func (BandwidthPackageTagArrayOutput) Index

func (BandwidthPackageTagArrayOutput) ToBandwidthPackageTagArrayOutput

func (o BandwidthPackageTagArrayOutput) ToBandwidthPackageTagArrayOutput() BandwidthPackageTagArrayOutput

func (BandwidthPackageTagArrayOutput) ToBandwidthPackageTagArrayOutputWithContext

func (o BandwidthPackageTagArrayOutput) ToBandwidthPackageTagArrayOutputWithContext(ctx context.Context) BandwidthPackageTagArrayOutput

type BandwidthPackageTagInput

type BandwidthPackageTagInput interface {
	pulumi.Input

	ToBandwidthPackageTagOutput() BandwidthPackageTagOutput
	ToBandwidthPackageTagOutputWithContext(context.Context) BandwidthPackageTagOutput
}

BandwidthPackageTagInput is an input type that accepts BandwidthPackageTagArgs and BandwidthPackageTagOutput values. You can construct a concrete instance of `BandwidthPackageTagInput` via:

BandwidthPackageTagArgs{...}

type BandwidthPackageTagOutput

type BandwidthPackageTagOutput struct{ *pulumi.OutputState }

func (BandwidthPackageTagOutput) ElementType

func (BandwidthPackageTagOutput) ElementType() reflect.Type

func (BandwidthPackageTagOutput) Key

The Key of Tags.

func (BandwidthPackageTagOutput) ToBandwidthPackageTagOutput

func (o BandwidthPackageTagOutput) ToBandwidthPackageTagOutput() BandwidthPackageTagOutput

func (BandwidthPackageTagOutput) ToBandwidthPackageTagOutputWithContext

func (o BandwidthPackageTagOutput) ToBandwidthPackageTagOutputWithContext(ctx context.Context) BandwidthPackageTagOutput

func (BandwidthPackageTagOutput) Value

The Value of Tags.

type BandwidthPackagesArgs

type BandwidthPackagesArgs struct {
	// A list of cen bandwidth package names.
	CenBandwidthPackageNames []string `pulumi:"cenBandwidthPackageNames"`
	// A cen id.
	CenId *string `pulumi:"cenId"`
	// A list of cen bandwidth package IDs.
	Ids []string `pulumi:"ids"`
	// A local geographic region set id.
	LocalGeographicRegionSetId *string `pulumi:"localGeographicRegionSetId"`
	// A Name Regex of cen bandwidth package.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// A peer geographic region set id.
	PeerGeographicRegionSetId *string `pulumi:"peerGeographicRegionSetId"`
	// Tags.
	Tags []BandwidthPackagesTag `pulumi:"tags"`
}

A collection of arguments for invoking BandwidthPackages.

type BandwidthPackagesBandwidthPackage

type BandwidthPackagesBandwidthPackage struct {
	// The account ID of the cen bandwidth package.
	AccountId string `pulumi:"accountId"`
	// The bandwidth of the cen bandwidth package.
	Bandwidth int `pulumi:"bandwidth"`
	// The billing type of the cen bandwidth package.
	BillingType string `pulumi:"billingType"`
	// The business status of the cen bandwidth package.
	BusinessStatus string `pulumi:"businessStatus"`
	// The ID of the cen bandwidth package.
	CenBandwidthPackageId string `pulumi:"cenBandwidthPackageId"`
	// The name of the cen bandwidth package.
	CenBandwidthPackageName string `pulumi:"cenBandwidthPackageName"`
	// The cen IDs of the bandwidth package.
	CenIds []string `pulumi:"cenIds"`
	// The create time of the cen bandwidth package.
	CreationTime string `pulumi:"creationTime"`
	// The deleted time of the cen bandwidth package.
	DeletedTime string `pulumi:"deletedTime"`
	// The description of the cen bandwidth package.
	Description string `pulumi:"description"`
	// The expired time of the cen bandwidth package.
	ExpiredTime string `pulumi:"expiredTime"`
	// The ID of the cen bandwidth package.
	Id string `pulumi:"id"`
	// A local geographic region set id.
	LocalGeographicRegionSetId string `pulumi:"localGeographicRegionSetId"`
	// A peer geographic region set id.
	PeerGeographicRegionSetId string `pulumi:"peerGeographicRegionSetId"`
	// The ProjectName of the cen bandwidth package.
	ProjectName string `pulumi:"projectName"`
	// The remain bandwidth of the cen bandwidth package.
	RemainingBandwidth int `pulumi:"remainingBandwidth"`
	// The status of the cen bandwidth package.
	Status string `pulumi:"status"`
	// Tags.
	Tags []BandwidthPackagesBandwidthPackageTag `pulumi:"tags"`
	// The update time of the cen bandwidth package.
	UpdateTime string `pulumi:"updateTime"`
}

type BandwidthPackagesBandwidthPackageArgs

type BandwidthPackagesBandwidthPackageArgs struct {
	// The account ID of the cen bandwidth package.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The bandwidth of the cen bandwidth package.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The billing type of the cen bandwidth package.
	BillingType pulumi.StringInput `pulumi:"billingType"`
	// The business status of the cen bandwidth package.
	BusinessStatus pulumi.StringInput `pulumi:"businessStatus"`
	// The ID of the cen bandwidth package.
	CenBandwidthPackageId pulumi.StringInput `pulumi:"cenBandwidthPackageId"`
	// The name of the cen bandwidth package.
	CenBandwidthPackageName pulumi.StringInput `pulumi:"cenBandwidthPackageName"`
	// The cen IDs of the bandwidth package.
	CenIds pulumi.StringArrayInput `pulumi:"cenIds"`
	// The create time of the cen bandwidth package.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The deleted time of the cen bandwidth package.
	DeletedTime pulumi.StringInput `pulumi:"deletedTime"`
	// The description of the cen bandwidth package.
	Description pulumi.StringInput `pulumi:"description"`
	// The expired time of the cen bandwidth package.
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// The ID of the cen bandwidth package.
	Id pulumi.StringInput `pulumi:"id"`
	// A local geographic region set id.
	LocalGeographicRegionSetId pulumi.StringInput `pulumi:"localGeographicRegionSetId"`
	// A peer geographic region set id.
	PeerGeographicRegionSetId pulumi.StringInput `pulumi:"peerGeographicRegionSetId"`
	// The ProjectName of the cen bandwidth package.
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// The remain bandwidth of the cen bandwidth package.
	RemainingBandwidth pulumi.IntInput `pulumi:"remainingBandwidth"`
	// The status of the cen bandwidth package.
	Status pulumi.StringInput `pulumi:"status"`
	// Tags.
	Tags BandwidthPackagesBandwidthPackageTagArrayInput `pulumi:"tags"`
	// The update time of the cen bandwidth package.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (BandwidthPackagesBandwidthPackageArgs) ElementType

func (BandwidthPackagesBandwidthPackageArgs) ToBandwidthPackagesBandwidthPackageOutput

func (i BandwidthPackagesBandwidthPackageArgs) ToBandwidthPackagesBandwidthPackageOutput() BandwidthPackagesBandwidthPackageOutput

func (BandwidthPackagesBandwidthPackageArgs) ToBandwidthPackagesBandwidthPackageOutputWithContext

func (i BandwidthPackagesBandwidthPackageArgs) ToBandwidthPackagesBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageOutput

type BandwidthPackagesBandwidthPackageArray

type BandwidthPackagesBandwidthPackageArray []BandwidthPackagesBandwidthPackageInput

func (BandwidthPackagesBandwidthPackageArray) ElementType

func (BandwidthPackagesBandwidthPackageArray) ToBandwidthPackagesBandwidthPackageArrayOutput

func (i BandwidthPackagesBandwidthPackageArray) ToBandwidthPackagesBandwidthPackageArrayOutput() BandwidthPackagesBandwidthPackageArrayOutput

func (BandwidthPackagesBandwidthPackageArray) ToBandwidthPackagesBandwidthPackageArrayOutputWithContext

func (i BandwidthPackagesBandwidthPackageArray) ToBandwidthPackagesBandwidthPackageArrayOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageArrayOutput

type BandwidthPackagesBandwidthPackageArrayInput

type BandwidthPackagesBandwidthPackageArrayInput interface {
	pulumi.Input

	ToBandwidthPackagesBandwidthPackageArrayOutput() BandwidthPackagesBandwidthPackageArrayOutput
	ToBandwidthPackagesBandwidthPackageArrayOutputWithContext(context.Context) BandwidthPackagesBandwidthPackageArrayOutput
}

BandwidthPackagesBandwidthPackageArrayInput is an input type that accepts BandwidthPackagesBandwidthPackageArray and BandwidthPackagesBandwidthPackageArrayOutput values. You can construct a concrete instance of `BandwidthPackagesBandwidthPackageArrayInput` via:

BandwidthPackagesBandwidthPackageArray{ BandwidthPackagesBandwidthPackageArgs{...} }

type BandwidthPackagesBandwidthPackageArrayOutput

type BandwidthPackagesBandwidthPackageArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackagesBandwidthPackageArrayOutput) ElementType

func (BandwidthPackagesBandwidthPackageArrayOutput) Index

func (BandwidthPackagesBandwidthPackageArrayOutput) ToBandwidthPackagesBandwidthPackageArrayOutput

func (o BandwidthPackagesBandwidthPackageArrayOutput) ToBandwidthPackagesBandwidthPackageArrayOutput() BandwidthPackagesBandwidthPackageArrayOutput

func (BandwidthPackagesBandwidthPackageArrayOutput) ToBandwidthPackagesBandwidthPackageArrayOutputWithContext

func (o BandwidthPackagesBandwidthPackageArrayOutput) ToBandwidthPackagesBandwidthPackageArrayOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageArrayOutput

type BandwidthPackagesBandwidthPackageInput

type BandwidthPackagesBandwidthPackageInput interface {
	pulumi.Input

	ToBandwidthPackagesBandwidthPackageOutput() BandwidthPackagesBandwidthPackageOutput
	ToBandwidthPackagesBandwidthPackageOutputWithContext(context.Context) BandwidthPackagesBandwidthPackageOutput
}

BandwidthPackagesBandwidthPackageInput is an input type that accepts BandwidthPackagesBandwidthPackageArgs and BandwidthPackagesBandwidthPackageOutput values. You can construct a concrete instance of `BandwidthPackagesBandwidthPackageInput` via:

BandwidthPackagesBandwidthPackageArgs{...}

type BandwidthPackagesBandwidthPackageOutput

type BandwidthPackagesBandwidthPackageOutput struct{ *pulumi.OutputState }

func (BandwidthPackagesBandwidthPackageOutput) AccountId

The account ID of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) Bandwidth

The bandwidth of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) BillingType

The billing type of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) BusinessStatus

The business status of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) CenBandwidthPackageId

The ID of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) CenBandwidthPackageName

func (o BandwidthPackagesBandwidthPackageOutput) CenBandwidthPackageName() pulumi.StringOutput

The name of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) CenIds

The cen IDs of the bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) CreationTime

The create time of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) DeletedTime

The deleted time of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) Description

The description of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) ElementType

func (BandwidthPackagesBandwidthPackageOutput) ExpiredTime

The expired time of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) Id

The ID of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) LocalGeographicRegionSetId

func (o BandwidthPackagesBandwidthPackageOutput) LocalGeographicRegionSetId() pulumi.StringOutput

A local geographic region set id.

func (BandwidthPackagesBandwidthPackageOutput) PeerGeographicRegionSetId

func (o BandwidthPackagesBandwidthPackageOutput) PeerGeographicRegionSetId() pulumi.StringOutput

A peer geographic region set id.

func (BandwidthPackagesBandwidthPackageOutput) ProjectName

The ProjectName of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) RemainingBandwidth

The remain bandwidth of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) Status

The status of the cen bandwidth package.

func (BandwidthPackagesBandwidthPackageOutput) Tags

Tags.

func (BandwidthPackagesBandwidthPackageOutput) ToBandwidthPackagesBandwidthPackageOutput

func (o BandwidthPackagesBandwidthPackageOutput) ToBandwidthPackagesBandwidthPackageOutput() BandwidthPackagesBandwidthPackageOutput

func (BandwidthPackagesBandwidthPackageOutput) ToBandwidthPackagesBandwidthPackageOutputWithContext

func (o BandwidthPackagesBandwidthPackageOutput) ToBandwidthPackagesBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageOutput

func (BandwidthPackagesBandwidthPackageOutput) UpdateTime

The update time of the cen bandwidth package.

type BandwidthPackagesBandwidthPackageTag

type BandwidthPackagesBandwidthPackageTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type BandwidthPackagesBandwidthPackageTagArgs

type BandwidthPackagesBandwidthPackageTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (BandwidthPackagesBandwidthPackageTagArgs) ElementType

func (BandwidthPackagesBandwidthPackageTagArgs) ToBandwidthPackagesBandwidthPackageTagOutput

func (i BandwidthPackagesBandwidthPackageTagArgs) ToBandwidthPackagesBandwidthPackageTagOutput() BandwidthPackagesBandwidthPackageTagOutput

func (BandwidthPackagesBandwidthPackageTagArgs) ToBandwidthPackagesBandwidthPackageTagOutputWithContext

func (i BandwidthPackagesBandwidthPackageTagArgs) ToBandwidthPackagesBandwidthPackageTagOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageTagOutput

type BandwidthPackagesBandwidthPackageTagArray

type BandwidthPackagesBandwidthPackageTagArray []BandwidthPackagesBandwidthPackageTagInput

func (BandwidthPackagesBandwidthPackageTagArray) ElementType

func (BandwidthPackagesBandwidthPackageTagArray) ToBandwidthPackagesBandwidthPackageTagArrayOutput

func (i BandwidthPackagesBandwidthPackageTagArray) ToBandwidthPackagesBandwidthPackageTagArrayOutput() BandwidthPackagesBandwidthPackageTagArrayOutput

func (BandwidthPackagesBandwidthPackageTagArray) ToBandwidthPackagesBandwidthPackageTagArrayOutputWithContext

func (i BandwidthPackagesBandwidthPackageTagArray) ToBandwidthPackagesBandwidthPackageTagArrayOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageTagArrayOutput

type BandwidthPackagesBandwidthPackageTagArrayInput

type BandwidthPackagesBandwidthPackageTagArrayInput interface {
	pulumi.Input

	ToBandwidthPackagesBandwidthPackageTagArrayOutput() BandwidthPackagesBandwidthPackageTagArrayOutput
	ToBandwidthPackagesBandwidthPackageTagArrayOutputWithContext(context.Context) BandwidthPackagesBandwidthPackageTagArrayOutput
}

BandwidthPackagesBandwidthPackageTagArrayInput is an input type that accepts BandwidthPackagesBandwidthPackageTagArray and BandwidthPackagesBandwidthPackageTagArrayOutput values. You can construct a concrete instance of `BandwidthPackagesBandwidthPackageTagArrayInput` via:

BandwidthPackagesBandwidthPackageTagArray{ BandwidthPackagesBandwidthPackageTagArgs{...} }

type BandwidthPackagesBandwidthPackageTagArrayOutput

type BandwidthPackagesBandwidthPackageTagArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackagesBandwidthPackageTagArrayOutput) ElementType

func (BandwidthPackagesBandwidthPackageTagArrayOutput) Index

func (BandwidthPackagesBandwidthPackageTagArrayOutput) ToBandwidthPackagesBandwidthPackageTagArrayOutput

func (o BandwidthPackagesBandwidthPackageTagArrayOutput) ToBandwidthPackagesBandwidthPackageTagArrayOutput() BandwidthPackagesBandwidthPackageTagArrayOutput

func (BandwidthPackagesBandwidthPackageTagArrayOutput) ToBandwidthPackagesBandwidthPackageTagArrayOutputWithContext

func (o BandwidthPackagesBandwidthPackageTagArrayOutput) ToBandwidthPackagesBandwidthPackageTagArrayOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageTagArrayOutput

type BandwidthPackagesBandwidthPackageTagInput

type BandwidthPackagesBandwidthPackageTagInput interface {
	pulumi.Input

	ToBandwidthPackagesBandwidthPackageTagOutput() BandwidthPackagesBandwidthPackageTagOutput
	ToBandwidthPackagesBandwidthPackageTagOutputWithContext(context.Context) BandwidthPackagesBandwidthPackageTagOutput
}

BandwidthPackagesBandwidthPackageTagInput is an input type that accepts BandwidthPackagesBandwidthPackageTagArgs and BandwidthPackagesBandwidthPackageTagOutput values. You can construct a concrete instance of `BandwidthPackagesBandwidthPackageTagInput` via:

BandwidthPackagesBandwidthPackageTagArgs{...}

type BandwidthPackagesBandwidthPackageTagOutput

type BandwidthPackagesBandwidthPackageTagOutput struct{ *pulumi.OutputState }

func (BandwidthPackagesBandwidthPackageTagOutput) ElementType

func (BandwidthPackagesBandwidthPackageTagOutput) Key

The Key of Tags.

func (BandwidthPackagesBandwidthPackageTagOutput) ToBandwidthPackagesBandwidthPackageTagOutput

func (o BandwidthPackagesBandwidthPackageTagOutput) ToBandwidthPackagesBandwidthPackageTagOutput() BandwidthPackagesBandwidthPackageTagOutput

func (BandwidthPackagesBandwidthPackageTagOutput) ToBandwidthPackagesBandwidthPackageTagOutputWithContext

func (o BandwidthPackagesBandwidthPackageTagOutput) ToBandwidthPackagesBandwidthPackageTagOutputWithContext(ctx context.Context) BandwidthPackagesBandwidthPackageTagOutput

func (BandwidthPackagesBandwidthPackageTagOutput) Value

The Value of Tags.

type BandwidthPackagesOutputArgs

type BandwidthPackagesOutputArgs struct {
	// A list of cen bandwidth package names.
	CenBandwidthPackageNames pulumi.StringArrayInput `pulumi:"cenBandwidthPackageNames"`
	// A cen id.
	CenId pulumi.StringPtrInput `pulumi:"cenId"`
	// A list of cen bandwidth package IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A local geographic region set id.
	LocalGeographicRegionSetId pulumi.StringPtrInput `pulumi:"localGeographicRegionSetId"`
	// A Name Regex of cen bandwidth package.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// A peer geographic region set id.
	PeerGeographicRegionSetId pulumi.StringPtrInput `pulumi:"peerGeographicRegionSetId"`
	// Tags.
	Tags BandwidthPackagesTagArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking BandwidthPackages.

func (BandwidthPackagesOutputArgs) ElementType

type BandwidthPackagesResult

type BandwidthPackagesResult struct {
	// The collection of cen bandwidth package query.
	BandwidthPackages        []BandwidthPackagesBandwidthPackage `pulumi:"bandwidthPackages"`
	CenBandwidthPackageNames []string                            `pulumi:"cenBandwidthPackageNames"`
	CenId                    *string                             `pulumi:"cenId"`
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The local geographic region set id of the cen bandwidth package.
	LocalGeographicRegionSetId *string `pulumi:"localGeographicRegionSetId"`
	NameRegex                  *string `pulumi:"nameRegex"`
	OutputFile                 *string `pulumi:"outputFile"`
	// The peer geographic region set id of the cen bandwidth package.
	PeerGeographicRegionSetId *string `pulumi:"peerGeographicRegionSetId"`
	// Tags.
	Tags []BandwidthPackagesTag `pulumi:"tags"`
	// The total count of cen bandwidth package query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by BandwidthPackages.

func BandwidthPackages

func BandwidthPackages(ctx *pulumi.Context, args *BandwidthPackagesArgs, opts ...pulumi.InvokeOption) (*BandwidthPackagesResult, error)

Use this data source to query detailed information of cen bandwidth packages ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.BandwidthPackages(ctx, &cen.BandwidthPackagesArgs{
			CenId: pulumi.StringRef("cen-2bzrl3srxsv0g2dx0efyoojn3"),
			Ids: []string{
				"cbp-2bzeew3s8p79c2dx0eeohej4x",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type BandwidthPackagesResultOutput

type BandwidthPackagesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by BandwidthPackages.

func (BandwidthPackagesResultOutput) BandwidthPackages

The collection of cen bandwidth package query.

func (BandwidthPackagesResultOutput) CenBandwidthPackageNames

func (o BandwidthPackagesResultOutput) CenBandwidthPackageNames() pulumi.StringArrayOutput

func (BandwidthPackagesResultOutput) CenId

func (BandwidthPackagesResultOutput) ElementType

func (BandwidthPackagesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (BandwidthPackagesResultOutput) Ids

func (BandwidthPackagesResultOutput) LocalGeographicRegionSetId

func (o BandwidthPackagesResultOutput) LocalGeographicRegionSetId() pulumi.StringPtrOutput

The local geographic region set id of the cen bandwidth package.

func (BandwidthPackagesResultOutput) NameRegex

func (BandwidthPackagesResultOutput) OutputFile

func (BandwidthPackagesResultOutput) PeerGeographicRegionSetId

func (o BandwidthPackagesResultOutput) PeerGeographicRegionSetId() pulumi.StringPtrOutput

The peer geographic region set id of the cen bandwidth package.

func (BandwidthPackagesResultOutput) Tags

Tags.

func (BandwidthPackagesResultOutput) ToBandwidthPackagesResultOutput

func (o BandwidthPackagesResultOutput) ToBandwidthPackagesResultOutput() BandwidthPackagesResultOutput

func (BandwidthPackagesResultOutput) ToBandwidthPackagesResultOutputWithContext

func (o BandwidthPackagesResultOutput) ToBandwidthPackagesResultOutputWithContext(ctx context.Context) BandwidthPackagesResultOutput

func (BandwidthPackagesResultOutput) TotalCount

The total count of cen bandwidth package query.

type BandwidthPackagesTag

type BandwidthPackagesTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type BandwidthPackagesTagArgs

type BandwidthPackagesTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (BandwidthPackagesTagArgs) ElementType

func (BandwidthPackagesTagArgs) ElementType() reflect.Type

func (BandwidthPackagesTagArgs) ToBandwidthPackagesTagOutput

func (i BandwidthPackagesTagArgs) ToBandwidthPackagesTagOutput() BandwidthPackagesTagOutput

func (BandwidthPackagesTagArgs) ToBandwidthPackagesTagOutputWithContext

func (i BandwidthPackagesTagArgs) ToBandwidthPackagesTagOutputWithContext(ctx context.Context) BandwidthPackagesTagOutput

type BandwidthPackagesTagArray

type BandwidthPackagesTagArray []BandwidthPackagesTagInput

func (BandwidthPackagesTagArray) ElementType

func (BandwidthPackagesTagArray) ElementType() reflect.Type

func (BandwidthPackagesTagArray) ToBandwidthPackagesTagArrayOutput

func (i BandwidthPackagesTagArray) ToBandwidthPackagesTagArrayOutput() BandwidthPackagesTagArrayOutput

func (BandwidthPackagesTagArray) ToBandwidthPackagesTagArrayOutputWithContext

func (i BandwidthPackagesTagArray) ToBandwidthPackagesTagArrayOutputWithContext(ctx context.Context) BandwidthPackagesTagArrayOutput

type BandwidthPackagesTagArrayInput

type BandwidthPackagesTagArrayInput interface {
	pulumi.Input

	ToBandwidthPackagesTagArrayOutput() BandwidthPackagesTagArrayOutput
	ToBandwidthPackagesTagArrayOutputWithContext(context.Context) BandwidthPackagesTagArrayOutput
}

BandwidthPackagesTagArrayInput is an input type that accepts BandwidthPackagesTagArray and BandwidthPackagesTagArrayOutput values. You can construct a concrete instance of `BandwidthPackagesTagArrayInput` via:

BandwidthPackagesTagArray{ BandwidthPackagesTagArgs{...} }

type BandwidthPackagesTagArrayOutput

type BandwidthPackagesTagArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackagesTagArrayOutput) ElementType

func (BandwidthPackagesTagArrayOutput) Index

func (BandwidthPackagesTagArrayOutput) ToBandwidthPackagesTagArrayOutput

func (o BandwidthPackagesTagArrayOutput) ToBandwidthPackagesTagArrayOutput() BandwidthPackagesTagArrayOutput

func (BandwidthPackagesTagArrayOutput) ToBandwidthPackagesTagArrayOutputWithContext

func (o BandwidthPackagesTagArrayOutput) ToBandwidthPackagesTagArrayOutputWithContext(ctx context.Context) BandwidthPackagesTagArrayOutput

type BandwidthPackagesTagInput

type BandwidthPackagesTagInput interface {
	pulumi.Input

	ToBandwidthPackagesTagOutput() BandwidthPackagesTagOutput
	ToBandwidthPackagesTagOutputWithContext(context.Context) BandwidthPackagesTagOutput
}

BandwidthPackagesTagInput is an input type that accepts BandwidthPackagesTagArgs and BandwidthPackagesTagOutput values. You can construct a concrete instance of `BandwidthPackagesTagInput` via:

BandwidthPackagesTagArgs{...}

type BandwidthPackagesTagOutput

type BandwidthPackagesTagOutput struct{ *pulumi.OutputState }

func (BandwidthPackagesTagOutput) ElementType

func (BandwidthPackagesTagOutput) ElementType() reflect.Type

func (BandwidthPackagesTagOutput) Key

The Key of Tags.

func (BandwidthPackagesTagOutput) ToBandwidthPackagesTagOutput

func (o BandwidthPackagesTagOutput) ToBandwidthPackagesTagOutput() BandwidthPackagesTagOutput

func (BandwidthPackagesTagOutput) ToBandwidthPackagesTagOutputWithContext

func (o BandwidthPackagesTagOutput) ToBandwidthPackagesTagOutputWithContext(ctx context.Context) BandwidthPackagesTagOutput

func (BandwidthPackagesTagOutput) Value

The Value of Tags.

type Cen

type Cen struct {
	pulumi.CustomResourceState

	// The account ID of the cen.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// A list of bandwidth package IDs of the cen.
	CenBandwidthPackageIds pulumi.StringArrayOutput `pulumi:"cenBandwidthPackageIds"`
	// The ID of the cen.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The name of the cen.
	CenName pulumi.StringOutput `pulumi:"cenName"`
	// The create time of the cen.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The description of the cen.
	Description pulumi.StringOutput `pulumi:"description"`
	// The ProjectName of the cen instance.
	ProjectName pulumi.StringPtrOutput `pulumi:"projectName"`
	// The status of the cen.
	Status pulumi.StringOutput `pulumi:"status"`
	// Tags.
	Tags CenTagArrayOutput `pulumi:"tags"`
	// The update time of the cen.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Provides a resource to manage cen ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewCen(ctx, "foo", &cen.CenArgs{
			CenName:     pulumi.String("tf-test-3"),
			Description: pulumi.String("tf-test"),
			ProjectName: pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cen can be imported using the id, e.g.

```sh

$ pulumi import volcengine:cen/cen:Cen default cen-7qthudw0ll6jmc****

```

func GetCen

func GetCen(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CenState, opts ...pulumi.ResourceOption) (*Cen, error)

GetCen gets an existing Cen 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 NewCen

func NewCen(ctx *pulumi.Context,
	name string, args *CenArgs, opts ...pulumi.ResourceOption) (*Cen, error)

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

func (*Cen) ElementType

func (*Cen) ElementType() reflect.Type

func (*Cen) ToCenOutput

func (i *Cen) ToCenOutput() CenOutput

func (*Cen) ToCenOutputWithContext

func (i *Cen) ToCenOutputWithContext(ctx context.Context) CenOutput

type CenArgs

type CenArgs struct {
	// The name of the cen.
	CenName pulumi.StringPtrInput
	// The description of the cen.
	Description pulumi.StringPtrInput
	// The ProjectName of the cen instance.
	ProjectName pulumi.StringPtrInput
	// Tags.
	Tags CenTagArrayInput
}

The set of arguments for constructing a Cen resource.

func (CenArgs) ElementType

func (CenArgs) ElementType() reflect.Type

type CenArray

type CenArray []CenInput

func (CenArray) ElementType

func (CenArray) ElementType() reflect.Type

func (CenArray) ToCenArrayOutput

func (i CenArray) ToCenArrayOutput() CenArrayOutput

func (CenArray) ToCenArrayOutputWithContext

func (i CenArray) ToCenArrayOutputWithContext(ctx context.Context) CenArrayOutput

type CenArrayInput

type CenArrayInput interface {
	pulumi.Input

	ToCenArrayOutput() CenArrayOutput
	ToCenArrayOutputWithContext(context.Context) CenArrayOutput
}

CenArrayInput is an input type that accepts CenArray and CenArrayOutput values. You can construct a concrete instance of `CenArrayInput` via:

CenArray{ CenArgs{...} }

type CenArrayOutput

type CenArrayOutput struct{ *pulumi.OutputState }

func (CenArrayOutput) ElementType

func (CenArrayOutput) ElementType() reflect.Type

func (CenArrayOutput) Index

func (CenArrayOutput) ToCenArrayOutput

func (o CenArrayOutput) ToCenArrayOutput() CenArrayOutput

func (CenArrayOutput) ToCenArrayOutputWithContext

func (o CenArrayOutput) ToCenArrayOutputWithContext(ctx context.Context) CenArrayOutput

type CenInput

type CenInput interface {
	pulumi.Input

	ToCenOutput() CenOutput
	ToCenOutputWithContext(ctx context.Context) CenOutput
}

type CenMap

type CenMap map[string]CenInput

func (CenMap) ElementType

func (CenMap) ElementType() reflect.Type

func (CenMap) ToCenMapOutput

func (i CenMap) ToCenMapOutput() CenMapOutput

func (CenMap) ToCenMapOutputWithContext

func (i CenMap) ToCenMapOutputWithContext(ctx context.Context) CenMapOutput

type CenMapInput

type CenMapInput interface {
	pulumi.Input

	ToCenMapOutput() CenMapOutput
	ToCenMapOutputWithContext(context.Context) CenMapOutput
}

CenMapInput is an input type that accepts CenMap and CenMapOutput values. You can construct a concrete instance of `CenMapInput` via:

CenMap{ "key": CenArgs{...} }

type CenMapOutput

type CenMapOutput struct{ *pulumi.OutputState }

func (CenMapOutput) ElementType

func (CenMapOutput) ElementType() reflect.Type

func (CenMapOutput) MapIndex

func (o CenMapOutput) MapIndex(k pulumi.StringInput) CenOutput

func (CenMapOutput) ToCenMapOutput

func (o CenMapOutput) ToCenMapOutput() CenMapOutput

func (CenMapOutput) ToCenMapOutputWithContext

func (o CenMapOutput) ToCenMapOutputWithContext(ctx context.Context) CenMapOutput

type CenOutput

type CenOutput struct{ *pulumi.OutputState }

func (CenOutput) AccountId

func (o CenOutput) AccountId() pulumi.StringOutput

The account ID of the cen.

func (CenOutput) CenBandwidthPackageIds

func (o CenOutput) CenBandwidthPackageIds() pulumi.StringArrayOutput

A list of bandwidth package IDs of the cen.

func (CenOutput) CenId

func (o CenOutput) CenId() pulumi.StringOutput

The ID of the cen.

func (CenOutput) CenName

func (o CenOutput) CenName() pulumi.StringOutput

The name of the cen.

func (CenOutput) CreationTime

func (o CenOutput) CreationTime() pulumi.StringOutput

The create time of the cen.

func (CenOutput) Description

func (o CenOutput) Description() pulumi.StringOutput

The description of the cen.

func (CenOutput) ElementType

func (CenOutput) ElementType() reflect.Type

func (CenOutput) ProjectName

func (o CenOutput) ProjectName() pulumi.StringPtrOutput

The ProjectName of the cen instance.

func (CenOutput) Status

func (o CenOutput) Status() pulumi.StringOutput

The status of the cen.

func (CenOutput) Tags

func (o CenOutput) Tags() CenTagArrayOutput

Tags.

func (CenOutput) ToCenOutput

func (o CenOutput) ToCenOutput() CenOutput

func (CenOutput) ToCenOutputWithContext

func (o CenOutput) ToCenOutputWithContext(ctx context.Context) CenOutput

func (CenOutput) UpdateTime

func (o CenOutput) UpdateTime() pulumi.StringOutput

The update time of the cen.

type CenState

type CenState struct {
	// The account ID of the cen.
	AccountId pulumi.StringPtrInput
	// A list of bandwidth package IDs of the cen.
	CenBandwidthPackageIds pulumi.StringArrayInput
	// The ID of the cen.
	CenId pulumi.StringPtrInput
	// The name of the cen.
	CenName pulumi.StringPtrInput
	// The create time of the cen.
	CreationTime pulumi.StringPtrInput
	// The description of the cen.
	Description pulumi.StringPtrInput
	// The ProjectName of the cen instance.
	ProjectName pulumi.StringPtrInput
	// The status of the cen.
	Status pulumi.StringPtrInput
	// Tags.
	Tags CenTagArrayInput
	// The update time of the cen.
	UpdateTime pulumi.StringPtrInput
}

func (CenState) ElementType

func (CenState) ElementType() reflect.Type

type CenTag

type CenTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type CenTagArgs

type CenTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (CenTagArgs) ElementType

func (CenTagArgs) ElementType() reflect.Type

func (CenTagArgs) ToCenTagOutput

func (i CenTagArgs) ToCenTagOutput() CenTagOutput

func (CenTagArgs) ToCenTagOutputWithContext

func (i CenTagArgs) ToCenTagOutputWithContext(ctx context.Context) CenTagOutput

type CenTagArray

type CenTagArray []CenTagInput

func (CenTagArray) ElementType

func (CenTagArray) ElementType() reflect.Type

func (CenTagArray) ToCenTagArrayOutput

func (i CenTagArray) ToCenTagArrayOutput() CenTagArrayOutput

func (CenTagArray) ToCenTagArrayOutputWithContext

func (i CenTagArray) ToCenTagArrayOutputWithContext(ctx context.Context) CenTagArrayOutput

type CenTagArrayInput

type CenTagArrayInput interface {
	pulumi.Input

	ToCenTagArrayOutput() CenTagArrayOutput
	ToCenTagArrayOutputWithContext(context.Context) CenTagArrayOutput
}

CenTagArrayInput is an input type that accepts CenTagArray and CenTagArrayOutput values. You can construct a concrete instance of `CenTagArrayInput` via:

CenTagArray{ CenTagArgs{...} }

type CenTagArrayOutput

type CenTagArrayOutput struct{ *pulumi.OutputState }

func (CenTagArrayOutput) ElementType

func (CenTagArrayOutput) ElementType() reflect.Type

func (CenTagArrayOutput) Index

func (CenTagArrayOutput) ToCenTagArrayOutput

func (o CenTagArrayOutput) ToCenTagArrayOutput() CenTagArrayOutput

func (CenTagArrayOutput) ToCenTagArrayOutputWithContext

func (o CenTagArrayOutput) ToCenTagArrayOutputWithContext(ctx context.Context) CenTagArrayOutput

type CenTagInput

type CenTagInput interface {
	pulumi.Input

	ToCenTagOutput() CenTagOutput
	ToCenTagOutputWithContext(context.Context) CenTagOutput
}

CenTagInput is an input type that accepts CenTagArgs and CenTagOutput values. You can construct a concrete instance of `CenTagInput` via:

CenTagArgs{...}

type CenTagOutput

type CenTagOutput struct{ *pulumi.OutputState }

func (CenTagOutput) ElementType

func (CenTagOutput) ElementType() reflect.Type

func (CenTagOutput) Key

The Key of Tags.

func (CenTagOutput) ToCenTagOutput

func (o CenTagOutput) ToCenTagOutput() CenTagOutput

func (CenTagOutput) ToCenTagOutputWithContext

func (o CenTagOutput) ToCenTagOutputWithContext(ctx context.Context) CenTagOutput

func (CenTagOutput) Value

func (o CenTagOutput) Value() pulumi.StringOutput

The Value of Tags.

type CensArgs

type CensArgs struct {
	// A list of cen names.
	CenNames []string `pulumi:"cenNames"`
	// A list of cen IDs.
	Ids []string `pulumi:"ids"`
	// A Name Regex of cen.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// Tags.
	Tags []CensTag `pulumi:"tags"`
}

A collection of arguments for invoking Cens.

type CensCen

type CensCen struct {
	// The account ID of the cen.
	AccountId string `pulumi:"accountId"`
	// A list of bandwidth package IDs of the cen.
	CenBandwidthPackageIds []string `pulumi:"cenBandwidthPackageIds"`
	// The ID of the cen.
	CenId string `pulumi:"cenId"`
	// The name of the cen.
	CenName string `pulumi:"cenName"`
	// The create time of the cen.
	CreationTime string `pulumi:"creationTime"`
	// The description of the cen.
	Description string `pulumi:"description"`
	// The ID of the cen.
	Id string `pulumi:"id"`
	// The ProjectName of the cen instance.
	ProjectName string `pulumi:"projectName"`
	// The status of the cen.
	Status string `pulumi:"status"`
	// Tags.
	Tags []CensCenTag `pulumi:"tags"`
	// The update time of the cen.
	UpdateTime string `pulumi:"updateTime"`
}

type CensCenArgs

type CensCenArgs struct {
	// The account ID of the cen.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// A list of bandwidth package IDs of the cen.
	CenBandwidthPackageIds pulumi.StringArrayInput `pulumi:"cenBandwidthPackageIds"`
	// The ID of the cen.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// The name of the cen.
	CenName pulumi.StringInput `pulumi:"cenName"`
	// The create time of the cen.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The description of the cen.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the cen.
	Id pulumi.StringInput `pulumi:"id"`
	// The ProjectName of the cen instance.
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// The status of the cen.
	Status pulumi.StringInput `pulumi:"status"`
	// Tags.
	Tags CensCenTagArrayInput `pulumi:"tags"`
	// The update time of the cen.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (CensCenArgs) ElementType

func (CensCenArgs) ElementType() reflect.Type

func (CensCenArgs) ToCensCenOutput

func (i CensCenArgs) ToCensCenOutput() CensCenOutput

func (CensCenArgs) ToCensCenOutputWithContext

func (i CensCenArgs) ToCensCenOutputWithContext(ctx context.Context) CensCenOutput

type CensCenArray

type CensCenArray []CensCenInput

func (CensCenArray) ElementType

func (CensCenArray) ElementType() reflect.Type

func (CensCenArray) ToCensCenArrayOutput

func (i CensCenArray) ToCensCenArrayOutput() CensCenArrayOutput

func (CensCenArray) ToCensCenArrayOutputWithContext

func (i CensCenArray) ToCensCenArrayOutputWithContext(ctx context.Context) CensCenArrayOutput

type CensCenArrayInput

type CensCenArrayInput interface {
	pulumi.Input

	ToCensCenArrayOutput() CensCenArrayOutput
	ToCensCenArrayOutputWithContext(context.Context) CensCenArrayOutput
}

CensCenArrayInput is an input type that accepts CensCenArray and CensCenArrayOutput values. You can construct a concrete instance of `CensCenArrayInput` via:

CensCenArray{ CensCenArgs{...} }

type CensCenArrayOutput

type CensCenArrayOutput struct{ *pulumi.OutputState }

func (CensCenArrayOutput) ElementType

func (CensCenArrayOutput) ElementType() reflect.Type

func (CensCenArrayOutput) Index

func (CensCenArrayOutput) ToCensCenArrayOutput

func (o CensCenArrayOutput) ToCensCenArrayOutput() CensCenArrayOutput

func (CensCenArrayOutput) ToCensCenArrayOutputWithContext

func (o CensCenArrayOutput) ToCensCenArrayOutputWithContext(ctx context.Context) CensCenArrayOutput

type CensCenInput

type CensCenInput interface {
	pulumi.Input

	ToCensCenOutput() CensCenOutput
	ToCensCenOutputWithContext(context.Context) CensCenOutput
}

CensCenInput is an input type that accepts CensCenArgs and CensCenOutput values. You can construct a concrete instance of `CensCenInput` via:

CensCenArgs{...}

type CensCenOutput

type CensCenOutput struct{ *pulumi.OutputState }

func (CensCenOutput) AccountId

func (o CensCenOutput) AccountId() pulumi.StringOutput

The account ID of the cen.

func (CensCenOutput) CenBandwidthPackageIds

func (o CensCenOutput) CenBandwidthPackageIds() pulumi.StringArrayOutput

A list of bandwidth package IDs of the cen.

func (CensCenOutput) CenId

func (o CensCenOutput) CenId() pulumi.StringOutput

The ID of the cen.

func (CensCenOutput) CenName

func (o CensCenOutput) CenName() pulumi.StringOutput

The name of the cen.

func (CensCenOutput) CreationTime

func (o CensCenOutput) CreationTime() pulumi.StringOutput

The create time of the cen.

func (CensCenOutput) Description

func (o CensCenOutput) Description() pulumi.StringOutput

The description of the cen.

func (CensCenOutput) ElementType

func (CensCenOutput) ElementType() reflect.Type

func (CensCenOutput) Id

The ID of the cen.

func (CensCenOutput) ProjectName

func (o CensCenOutput) ProjectName() pulumi.StringOutput

The ProjectName of the cen instance.

func (CensCenOutput) Status

func (o CensCenOutput) Status() pulumi.StringOutput

The status of the cen.

func (CensCenOutput) Tags

Tags.

func (CensCenOutput) ToCensCenOutput

func (o CensCenOutput) ToCensCenOutput() CensCenOutput

func (CensCenOutput) ToCensCenOutputWithContext

func (o CensCenOutput) ToCensCenOutputWithContext(ctx context.Context) CensCenOutput

func (CensCenOutput) UpdateTime

func (o CensCenOutput) UpdateTime() pulumi.StringOutput

The update time of the cen.

type CensCenTag

type CensCenTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type CensCenTagArgs

type CensCenTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (CensCenTagArgs) ElementType

func (CensCenTagArgs) ElementType() reflect.Type

func (CensCenTagArgs) ToCensCenTagOutput

func (i CensCenTagArgs) ToCensCenTagOutput() CensCenTagOutput

func (CensCenTagArgs) ToCensCenTagOutputWithContext

func (i CensCenTagArgs) ToCensCenTagOutputWithContext(ctx context.Context) CensCenTagOutput

type CensCenTagArray

type CensCenTagArray []CensCenTagInput

func (CensCenTagArray) ElementType

func (CensCenTagArray) ElementType() reflect.Type

func (CensCenTagArray) ToCensCenTagArrayOutput

func (i CensCenTagArray) ToCensCenTagArrayOutput() CensCenTagArrayOutput

func (CensCenTagArray) ToCensCenTagArrayOutputWithContext

func (i CensCenTagArray) ToCensCenTagArrayOutputWithContext(ctx context.Context) CensCenTagArrayOutput

type CensCenTagArrayInput

type CensCenTagArrayInput interface {
	pulumi.Input

	ToCensCenTagArrayOutput() CensCenTagArrayOutput
	ToCensCenTagArrayOutputWithContext(context.Context) CensCenTagArrayOutput
}

CensCenTagArrayInput is an input type that accepts CensCenTagArray and CensCenTagArrayOutput values. You can construct a concrete instance of `CensCenTagArrayInput` via:

CensCenTagArray{ CensCenTagArgs{...} }

type CensCenTagArrayOutput

type CensCenTagArrayOutput struct{ *pulumi.OutputState }

func (CensCenTagArrayOutput) ElementType

func (CensCenTagArrayOutput) ElementType() reflect.Type

func (CensCenTagArrayOutput) Index

func (CensCenTagArrayOutput) ToCensCenTagArrayOutput

func (o CensCenTagArrayOutput) ToCensCenTagArrayOutput() CensCenTagArrayOutput

func (CensCenTagArrayOutput) ToCensCenTagArrayOutputWithContext

func (o CensCenTagArrayOutput) ToCensCenTagArrayOutputWithContext(ctx context.Context) CensCenTagArrayOutput

type CensCenTagInput

type CensCenTagInput interface {
	pulumi.Input

	ToCensCenTagOutput() CensCenTagOutput
	ToCensCenTagOutputWithContext(context.Context) CensCenTagOutput
}

CensCenTagInput is an input type that accepts CensCenTagArgs and CensCenTagOutput values. You can construct a concrete instance of `CensCenTagInput` via:

CensCenTagArgs{...}

type CensCenTagOutput

type CensCenTagOutput struct{ *pulumi.OutputState }

func (CensCenTagOutput) ElementType

func (CensCenTagOutput) ElementType() reflect.Type

func (CensCenTagOutput) Key

The Key of Tags.

func (CensCenTagOutput) ToCensCenTagOutput

func (o CensCenTagOutput) ToCensCenTagOutput() CensCenTagOutput

func (CensCenTagOutput) ToCensCenTagOutputWithContext

func (o CensCenTagOutput) ToCensCenTagOutputWithContext(ctx context.Context) CensCenTagOutput

func (CensCenTagOutput) Value

The Value of Tags.

type CensOutputArgs

type CensOutputArgs struct {
	// A list of cen names.
	CenNames pulumi.StringArrayInput `pulumi:"cenNames"`
	// A list of cen IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A Name Regex of cen.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Tags.
	Tags CensTagArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking Cens.

func (CensOutputArgs) ElementType

func (CensOutputArgs) ElementType() reflect.Type

type CensResult

type CensResult struct {
	CenNames []string `pulumi:"cenNames"`
	// The collection of cen query.
	Cens []CensCen `pulumi:"cens"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	// Tags.
	Tags []CensTag `pulumi:"tags"`
	// The total count of cen query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by Cens.

func Cens

func Cens(ctx *pulumi.Context, args *CensArgs, opts ...pulumi.InvokeOption) (*CensResult, error)

Use this data source to query detailed information of cens ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.Cens(ctx, &cen.CensArgs{
			Ids: []string{
				"cen-2bzrl3srxsv0g2dx0efyoojn3",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type CensResultOutput

type CensResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Cens.

func CensOutput

func CensOutput(ctx *pulumi.Context, args CensOutputArgs, opts ...pulumi.InvokeOption) CensResultOutput

func (CensResultOutput) CenNames

func (CensResultOutput) Cens

The collection of cen query.

func (CensResultOutput) ElementType

func (CensResultOutput) ElementType() reflect.Type

func (CensResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (CensResultOutput) Ids

func (CensResultOutput) NameRegex

func (o CensResultOutput) NameRegex() pulumi.StringPtrOutput

func (CensResultOutput) OutputFile

func (o CensResultOutput) OutputFile() pulumi.StringPtrOutput

func (CensResultOutput) Tags

Tags.

func (CensResultOutput) ToCensResultOutput

func (o CensResultOutput) ToCensResultOutput() CensResultOutput

func (CensResultOutput) ToCensResultOutputWithContext

func (o CensResultOutput) ToCensResultOutputWithContext(ctx context.Context) CensResultOutput

func (CensResultOutput) TotalCount

func (o CensResultOutput) TotalCount() pulumi.IntOutput

The total count of cen query.

type CensTag

type CensTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type CensTagArgs

type CensTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (CensTagArgs) ElementType

func (CensTagArgs) ElementType() reflect.Type

func (CensTagArgs) ToCensTagOutput

func (i CensTagArgs) ToCensTagOutput() CensTagOutput

func (CensTagArgs) ToCensTagOutputWithContext

func (i CensTagArgs) ToCensTagOutputWithContext(ctx context.Context) CensTagOutput

type CensTagArray

type CensTagArray []CensTagInput

func (CensTagArray) ElementType

func (CensTagArray) ElementType() reflect.Type

func (CensTagArray) ToCensTagArrayOutput

func (i CensTagArray) ToCensTagArrayOutput() CensTagArrayOutput

func (CensTagArray) ToCensTagArrayOutputWithContext

func (i CensTagArray) ToCensTagArrayOutputWithContext(ctx context.Context) CensTagArrayOutput

type CensTagArrayInput

type CensTagArrayInput interface {
	pulumi.Input

	ToCensTagArrayOutput() CensTagArrayOutput
	ToCensTagArrayOutputWithContext(context.Context) CensTagArrayOutput
}

CensTagArrayInput is an input type that accepts CensTagArray and CensTagArrayOutput values. You can construct a concrete instance of `CensTagArrayInput` via:

CensTagArray{ CensTagArgs{...} }

type CensTagArrayOutput

type CensTagArrayOutput struct{ *pulumi.OutputState }

func (CensTagArrayOutput) ElementType

func (CensTagArrayOutput) ElementType() reflect.Type

func (CensTagArrayOutput) Index

func (CensTagArrayOutput) ToCensTagArrayOutput

func (o CensTagArrayOutput) ToCensTagArrayOutput() CensTagArrayOutput

func (CensTagArrayOutput) ToCensTagArrayOutputWithContext

func (o CensTagArrayOutput) ToCensTagArrayOutputWithContext(ctx context.Context) CensTagArrayOutput

type CensTagInput

type CensTagInput interface {
	pulumi.Input

	ToCensTagOutput() CensTagOutput
	ToCensTagOutputWithContext(context.Context) CensTagOutput
}

CensTagInput is an input type that accepts CensTagArgs and CensTagOutput values. You can construct a concrete instance of `CensTagInput` via:

CensTagArgs{...}

type CensTagOutput

type CensTagOutput struct{ *pulumi.OutputState }

func (CensTagOutput) ElementType

func (CensTagOutput) ElementType() reflect.Type

func (CensTagOutput) Key

The Key of Tags.

func (CensTagOutput) ToCensTagOutput

func (o CensTagOutput) ToCensTagOutput() CensTagOutput

func (CensTagOutput) ToCensTagOutputWithContext

func (o CensTagOutput) ToCensTagOutputWithContext(ctx context.Context) CensTagOutput

func (CensTagOutput) Value

func (o CensTagOutput) Value() pulumi.StringOutput

The Value of Tags.

type GrantInstance

type GrantInstance struct {
	pulumi.CustomResourceState

	// The ID of the cen.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The owner ID of the cen.
	CenOwnerId pulumi.StringOutput `pulumi:"cenOwnerId"`
	// The ID of the instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The region ID of the instance.
	InstanceRegionId pulumi.StringOutput `pulumi:"instanceRegionId"`
	// The type of the instance.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
}

Provides a resource to manage cen grant instance ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewGrantInstance(ctx, "foo", &cen.GrantInstanceArgs{
			CenId:            pulumi.String("cen-2d6zdn0c1z5s058ozfcyf4lee"),
			CenOwnerId:       pulumi.String("210000****"),
			InstanceId:       pulumi.String("vpc-2bysvq1xx543k2dx0eeulpeiv"),
			InstanceRegionId: pulumi.String("cn-beijing"),
			InstanceType:     pulumi.String("VPC"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cen grant instance can be imported using the CenId:CenOwnerId:InstanceId:InstanceType:RegionId, e.g.

```sh

$ pulumi import volcengine:cen/grantInstance:GrantInstance default cen-7qthudw0ll6jmc***:210000****:vpc-2fexiqjlgjif45oxruvso****:VPC:cn-beijing

```

func GetGrantInstance

func GetGrantInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GrantInstanceState, opts ...pulumi.ResourceOption) (*GrantInstance, error)

GetGrantInstance gets an existing GrantInstance 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 NewGrantInstance

func NewGrantInstance(ctx *pulumi.Context,
	name string, args *GrantInstanceArgs, opts ...pulumi.ResourceOption) (*GrantInstance, error)

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

func (*GrantInstance) ElementType

func (*GrantInstance) ElementType() reflect.Type

func (*GrantInstance) ToGrantInstanceOutput

func (i *GrantInstance) ToGrantInstanceOutput() GrantInstanceOutput

func (*GrantInstance) ToGrantInstanceOutputWithContext

func (i *GrantInstance) ToGrantInstanceOutputWithContext(ctx context.Context) GrantInstanceOutput

type GrantInstanceArgs

type GrantInstanceArgs struct {
	// The ID of the cen.
	CenId pulumi.StringInput
	// The owner ID of the cen.
	CenOwnerId pulumi.StringInput
	// The ID of the instance.
	InstanceId pulumi.StringInput
	// The region ID of the instance.
	InstanceRegionId pulumi.StringInput
	// The type of the instance.
	InstanceType pulumi.StringInput
}

The set of arguments for constructing a GrantInstance resource.

func (GrantInstanceArgs) ElementType

func (GrantInstanceArgs) ElementType() reflect.Type

type GrantInstanceArray

type GrantInstanceArray []GrantInstanceInput

func (GrantInstanceArray) ElementType

func (GrantInstanceArray) ElementType() reflect.Type

func (GrantInstanceArray) ToGrantInstanceArrayOutput

func (i GrantInstanceArray) ToGrantInstanceArrayOutput() GrantInstanceArrayOutput

func (GrantInstanceArray) ToGrantInstanceArrayOutputWithContext

func (i GrantInstanceArray) ToGrantInstanceArrayOutputWithContext(ctx context.Context) GrantInstanceArrayOutput

type GrantInstanceArrayInput

type GrantInstanceArrayInput interface {
	pulumi.Input

	ToGrantInstanceArrayOutput() GrantInstanceArrayOutput
	ToGrantInstanceArrayOutputWithContext(context.Context) GrantInstanceArrayOutput
}

GrantInstanceArrayInput is an input type that accepts GrantInstanceArray and GrantInstanceArrayOutput values. You can construct a concrete instance of `GrantInstanceArrayInput` via:

GrantInstanceArray{ GrantInstanceArgs{...} }

type GrantInstanceArrayOutput

type GrantInstanceArrayOutput struct{ *pulumi.OutputState }

func (GrantInstanceArrayOutput) ElementType

func (GrantInstanceArrayOutput) ElementType() reflect.Type

func (GrantInstanceArrayOutput) Index

func (GrantInstanceArrayOutput) ToGrantInstanceArrayOutput

func (o GrantInstanceArrayOutput) ToGrantInstanceArrayOutput() GrantInstanceArrayOutput

func (GrantInstanceArrayOutput) ToGrantInstanceArrayOutputWithContext

func (o GrantInstanceArrayOutput) ToGrantInstanceArrayOutputWithContext(ctx context.Context) GrantInstanceArrayOutput

type GrantInstanceInput

type GrantInstanceInput interface {
	pulumi.Input

	ToGrantInstanceOutput() GrantInstanceOutput
	ToGrantInstanceOutputWithContext(ctx context.Context) GrantInstanceOutput
}

type GrantInstanceMap

type GrantInstanceMap map[string]GrantInstanceInput

func (GrantInstanceMap) ElementType

func (GrantInstanceMap) ElementType() reflect.Type

func (GrantInstanceMap) ToGrantInstanceMapOutput

func (i GrantInstanceMap) ToGrantInstanceMapOutput() GrantInstanceMapOutput

func (GrantInstanceMap) ToGrantInstanceMapOutputWithContext

func (i GrantInstanceMap) ToGrantInstanceMapOutputWithContext(ctx context.Context) GrantInstanceMapOutput

type GrantInstanceMapInput

type GrantInstanceMapInput interface {
	pulumi.Input

	ToGrantInstanceMapOutput() GrantInstanceMapOutput
	ToGrantInstanceMapOutputWithContext(context.Context) GrantInstanceMapOutput
}

GrantInstanceMapInput is an input type that accepts GrantInstanceMap and GrantInstanceMapOutput values. You can construct a concrete instance of `GrantInstanceMapInput` via:

GrantInstanceMap{ "key": GrantInstanceArgs{...} }

type GrantInstanceMapOutput

type GrantInstanceMapOutput struct{ *pulumi.OutputState }

func (GrantInstanceMapOutput) ElementType

func (GrantInstanceMapOutput) ElementType() reflect.Type

func (GrantInstanceMapOutput) MapIndex

func (GrantInstanceMapOutput) ToGrantInstanceMapOutput

func (o GrantInstanceMapOutput) ToGrantInstanceMapOutput() GrantInstanceMapOutput

func (GrantInstanceMapOutput) ToGrantInstanceMapOutputWithContext

func (o GrantInstanceMapOutput) ToGrantInstanceMapOutputWithContext(ctx context.Context) GrantInstanceMapOutput

type GrantInstanceOutput

type GrantInstanceOutput struct{ *pulumi.OutputState }

func (GrantInstanceOutput) CenId

The ID of the cen.

func (GrantInstanceOutput) CenOwnerId

func (o GrantInstanceOutput) CenOwnerId() pulumi.StringOutput

The owner ID of the cen.

func (GrantInstanceOutput) ElementType

func (GrantInstanceOutput) ElementType() reflect.Type

func (GrantInstanceOutput) InstanceId

func (o GrantInstanceOutput) InstanceId() pulumi.StringOutput

The ID of the instance.

func (GrantInstanceOutput) InstanceRegionId

func (o GrantInstanceOutput) InstanceRegionId() pulumi.StringOutput

The region ID of the instance.

func (GrantInstanceOutput) InstanceType

func (o GrantInstanceOutput) InstanceType() pulumi.StringOutput

The type of the instance.

func (GrantInstanceOutput) ToGrantInstanceOutput

func (o GrantInstanceOutput) ToGrantInstanceOutput() GrantInstanceOutput

func (GrantInstanceOutput) ToGrantInstanceOutputWithContext

func (o GrantInstanceOutput) ToGrantInstanceOutputWithContext(ctx context.Context) GrantInstanceOutput

type GrantInstanceState

type GrantInstanceState struct {
	// The ID of the cen.
	CenId pulumi.StringPtrInput
	// The owner ID of the cen.
	CenOwnerId pulumi.StringPtrInput
	// The ID of the instance.
	InstanceId pulumi.StringPtrInput
	// The region ID of the instance.
	InstanceRegionId pulumi.StringPtrInput
	// The type of the instance.
	InstanceType pulumi.StringPtrInput
}

func (GrantInstanceState) ElementType

func (GrantInstanceState) ElementType() reflect.Type

type InterRegionBandwidth

type InterRegionBandwidth struct {
	pulumi.CustomResourceState

	// The bandwidth of the cen inter region bandwidth.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// The cen ID of the cen inter region bandwidth.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The create time of the cen inter region bandwidth.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The ID of the cen inter region bandwidth.
	InterRegionBandwidthId pulumi.StringOutput `pulumi:"interRegionBandwidthId"`
	// The local region id of the cen inter region bandwidth.
	LocalRegionId pulumi.StringOutput `pulumi:"localRegionId"`
	// The peer region id of the cen inter region bandwidth.
	PeerRegionId pulumi.StringOutput `pulumi:"peerRegionId"`
	// The status of the cen inter region bandwidth.
	Status pulumi.StringOutput `pulumi:"status"`
	// The update time of the cen inter region bandwidth.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Provides a resource to manage cen inter region bandwidth ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewInterRegionBandwidth(ctx, "foo", &cen.InterRegionBandwidthArgs{
			Bandwidth:     pulumi.Int(1),
			CenId:         pulumi.String("cen-274vsbhwvvb407fap8sp611w7"),
			LocalRegionId: pulumi.String("cn-north-3"),
			PeerRegionId:  pulumi.String("cn-zhangjiakou"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CenInterRegionBandwidth can be imported using the id, e.g.

```sh

$ pulumi import volcengine:cen/interRegionBandwidth:InterRegionBandwidth default cirb-3tex2x1cwd4c6c0v****

```

func GetInterRegionBandwidth

func GetInterRegionBandwidth(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InterRegionBandwidthState, opts ...pulumi.ResourceOption) (*InterRegionBandwidth, error)

GetInterRegionBandwidth gets an existing InterRegionBandwidth 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 NewInterRegionBandwidth

func NewInterRegionBandwidth(ctx *pulumi.Context,
	name string, args *InterRegionBandwidthArgs, opts ...pulumi.ResourceOption) (*InterRegionBandwidth, error)

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

func (*InterRegionBandwidth) ElementType

func (*InterRegionBandwidth) ElementType() reflect.Type

func (*InterRegionBandwidth) ToInterRegionBandwidthOutput

func (i *InterRegionBandwidth) ToInterRegionBandwidthOutput() InterRegionBandwidthOutput

func (*InterRegionBandwidth) ToInterRegionBandwidthOutputWithContext

func (i *InterRegionBandwidth) ToInterRegionBandwidthOutputWithContext(ctx context.Context) InterRegionBandwidthOutput

type InterRegionBandwidthArgs

type InterRegionBandwidthArgs struct {
	// The bandwidth of the cen inter region bandwidth.
	Bandwidth pulumi.IntInput
	// The cen ID of the cen inter region bandwidth.
	CenId pulumi.StringInput
	// The local region id of the cen inter region bandwidth.
	LocalRegionId pulumi.StringInput
	// The peer region id of the cen inter region bandwidth.
	PeerRegionId pulumi.StringInput
}

The set of arguments for constructing a InterRegionBandwidth resource.

func (InterRegionBandwidthArgs) ElementType

func (InterRegionBandwidthArgs) ElementType() reflect.Type

type InterRegionBandwidthArray

type InterRegionBandwidthArray []InterRegionBandwidthInput

func (InterRegionBandwidthArray) ElementType

func (InterRegionBandwidthArray) ElementType() reflect.Type

func (InterRegionBandwidthArray) ToInterRegionBandwidthArrayOutput

func (i InterRegionBandwidthArray) ToInterRegionBandwidthArrayOutput() InterRegionBandwidthArrayOutput

func (InterRegionBandwidthArray) ToInterRegionBandwidthArrayOutputWithContext

func (i InterRegionBandwidthArray) ToInterRegionBandwidthArrayOutputWithContext(ctx context.Context) InterRegionBandwidthArrayOutput

type InterRegionBandwidthArrayInput

type InterRegionBandwidthArrayInput interface {
	pulumi.Input

	ToInterRegionBandwidthArrayOutput() InterRegionBandwidthArrayOutput
	ToInterRegionBandwidthArrayOutputWithContext(context.Context) InterRegionBandwidthArrayOutput
}

InterRegionBandwidthArrayInput is an input type that accepts InterRegionBandwidthArray and InterRegionBandwidthArrayOutput values. You can construct a concrete instance of `InterRegionBandwidthArrayInput` via:

InterRegionBandwidthArray{ InterRegionBandwidthArgs{...} }

type InterRegionBandwidthArrayOutput

type InterRegionBandwidthArrayOutput struct{ *pulumi.OutputState }

func (InterRegionBandwidthArrayOutput) ElementType

func (InterRegionBandwidthArrayOutput) Index

func (InterRegionBandwidthArrayOutput) ToInterRegionBandwidthArrayOutput

func (o InterRegionBandwidthArrayOutput) ToInterRegionBandwidthArrayOutput() InterRegionBandwidthArrayOutput

func (InterRegionBandwidthArrayOutput) ToInterRegionBandwidthArrayOutputWithContext

func (o InterRegionBandwidthArrayOutput) ToInterRegionBandwidthArrayOutputWithContext(ctx context.Context) InterRegionBandwidthArrayOutput

type InterRegionBandwidthInput

type InterRegionBandwidthInput interface {
	pulumi.Input

	ToInterRegionBandwidthOutput() InterRegionBandwidthOutput
	ToInterRegionBandwidthOutputWithContext(ctx context.Context) InterRegionBandwidthOutput
}

type InterRegionBandwidthMap

type InterRegionBandwidthMap map[string]InterRegionBandwidthInput

func (InterRegionBandwidthMap) ElementType

func (InterRegionBandwidthMap) ElementType() reflect.Type

func (InterRegionBandwidthMap) ToInterRegionBandwidthMapOutput

func (i InterRegionBandwidthMap) ToInterRegionBandwidthMapOutput() InterRegionBandwidthMapOutput

func (InterRegionBandwidthMap) ToInterRegionBandwidthMapOutputWithContext

func (i InterRegionBandwidthMap) ToInterRegionBandwidthMapOutputWithContext(ctx context.Context) InterRegionBandwidthMapOutput

type InterRegionBandwidthMapInput

type InterRegionBandwidthMapInput interface {
	pulumi.Input

	ToInterRegionBandwidthMapOutput() InterRegionBandwidthMapOutput
	ToInterRegionBandwidthMapOutputWithContext(context.Context) InterRegionBandwidthMapOutput
}

InterRegionBandwidthMapInput is an input type that accepts InterRegionBandwidthMap and InterRegionBandwidthMapOutput values. You can construct a concrete instance of `InterRegionBandwidthMapInput` via:

InterRegionBandwidthMap{ "key": InterRegionBandwidthArgs{...} }

type InterRegionBandwidthMapOutput

type InterRegionBandwidthMapOutput struct{ *pulumi.OutputState }

func (InterRegionBandwidthMapOutput) ElementType

func (InterRegionBandwidthMapOutput) MapIndex

func (InterRegionBandwidthMapOutput) ToInterRegionBandwidthMapOutput

func (o InterRegionBandwidthMapOutput) ToInterRegionBandwidthMapOutput() InterRegionBandwidthMapOutput

func (InterRegionBandwidthMapOutput) ToInterRegionBandwidthMapOutputWithContext

func (o InterRegionBandwidthMapOutput) ToInterRegionBandwidthMapOutputWithContext(ctx context.Context) InterRegionBandwidthMapOutput

type InterRegionBandwidthOutput

type InterRegionBandwidthOutput struct{ *pulumi.OutputState }

func (InterRegionBandwidthOutput) Bandwidth

The bandwidth of the cen inter region bandwidth.

func (InterRegionBandwidthOutput) CenId

The cen ID of the cen inter region bandwidth.

func (InterRegionBandwidthOutput) CreationTime

The create time of the cen inter region bandwidth.

func (InterRegionBandwidthOutput) ElementType

func (InterRegionBandwidthOutput) ElementType() reflect.Type

func (InterRegionBandwidthOutput) InterRegionBandwidthId

func (o InterRegionBandwidthOutput) InterRegionBandwidthId() pulumi.StringOutput

The ID of the cen inter region bandwidth.

func (InterRegionBandwidthOutput) LocalRegionId

The local region id of the cen inter region bandwidth.

func (InterRegionBandwidthOutput) PeerRegionId

The peer region id of the cen inter region bandwidth.

func (InterRegionBandwidthOutput) Status

The status of the cen inter region bandwidth.

func (InterRegionBandwidthOutput) ToInterRegionBandwidthOutput

func (o InterRegionBandwidthOutput) ToInterRegionBandwidthOutput() InterRegionBandwidthOutput

func (InterRegionBandwidthOutput) ToInterRegionBandwidthOutputWithContext

func (o InterRegionBandwidthOutput) ToInterRegionBandwidthOutputWithContext(ctx context.Context) InterRegionBandwidthOutput

func (InterRegionBandwidthOutput) UpdateTime

The update time of the cen inter region bandwidth.

type InterRegionBandwidthState

type InterRegionBandwidthState struct {
	// The bandwidth of the cen inter region bandwidth.
	Bandwidth pulumi.IntPtrInput
	// The cen ID of the cen inter region bandwidth.
	CenId pulumi.StringPtrInput
	// The create time of the cen inter region bandwidth.
	CreationTime pulumi.StringPtrInput
	// The ID of the cen inter region bandwidth.
	InterRegionBandwidthId pulumi.StringPtrInput
	// The local region id of the cen inter region bandwidth.
	LocalRegionId pulumi.StringPtrInput
	// The peer region id of the cen inter region bandwidth.
	PeerRegionId pulumi.StringPtrInput
	// The status of the cen inter region bandwidth.
	Status pulumi.StringPtrInput
	// The update time of the cen inter region bandwidth.
	UpdateTime pulumi.StringPtrInput
}

func (InterRegionBandwidthState) ElementType

func (InterRegionBandwidthState) ElementType() reflect.Type

type InterRegionBandwidthsArgs

type InterRegionBandwidthsArgs struct {
	// A list of cen inter region bandwidth IDs.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking InterRegionBandwidths.

type InterRegionBandwidthsInterRegionBandwidth

type InterRegionBandwidthsInterRegionBandwidth struct {
	// The bandwidth of the cen inter region bandwidth.
	Bandwidth int `pulumi:"bandwidth"`
	// The cen ID of the cen inter region bandwidth.
	CenId string `pulumi:"cenId"`
	// The create time of the cen inter region bandwidth.
	CreationTime string `pulumi:"creationTime"`
	// The ID of the cen inter region bandwidth.
	Id string `pulumi:"id"`
	// The ID of the cen inter region bandwidth.
	InterRegionBandwidthId string `pulumi:"interRegionBandwidthId"`
	// The local region id of the cen inter region bandwidth.
	LocalRegionId string `pulumi:"localRegionId"`
	// The peer region id of the cen inter region bandwidth.
	PeerRegionId string `pulumi:"peerRegionId"`
	// The status of the cen inter region bandwidth.
	Status string `pulumi:"status"`
	// The update time of the cen inter region bandwidth.
	UpdateTime string `pulumi:"updateTime"`
}

type InterRegionBandwidthsInterRegionBandwidthArgs

type InterRegionBandwidthsInterRegionBandwidthArgs struct {
	// The bandwidth of the cen inter region bandwidth.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The cen ID of the cen inter region bandwidth.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// The create time of the cen inter region bandwidth.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The ID of the cen inter region bandwidth.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the cen inter region bandwidth.
	InterRegionBandwidthId pulumi.StringInput `pulumi:"interRegionBandwidthId"`
	// The local region id of the cen inter region bandwidth.
	LocalRegionId pulumi.StringInput `pulumi:"localRegionId"`
	// The peer region id of the cen inter region bandwidth.
	PeerRegionId pulumi.StringInput `pulumi:"peerRegionId"`
	// The status of the cen inter region bandwidth.
	Status pulumi.StringInput `pulumi:"status"`
	// The update time of the cen inter region bandwidth.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (InterRegionBandwidthsInterRegionBandwidthArgs) ElementType

func (InterRegionBandwidthsInterRegionBandwidthArgs) ToInterRegionBandwidthsInterRegionBandwidthOutput

func (i InterRegionBandwidthsInterRegionBandwidthArgs) ToInterRegionBandwidthsInterRegionBandwidthOutput() InterRegionBandwidthsInterRegionBandwidthOutput

func (InterRegionBandwidthsInterRegionBandwidthArgs) ToInterRegionBandwidthsInterRegionBandwidthOutputWithContext

func (i InterRegionBandwidthsInterRegionBandwidthArgs) ToInterRegionBandwidthsInterRegionBandwidthOutputWithContext(ctx context.Context) InterRegionBandwidthsInterRegionBandwidthOutput

type InterRegionBandwidthsInterRegionBandwidthArray

type InterRegionBandwidthsInterRegionBandwidthArray []InterRegionBandwidthsInterRegionBandwidthInput

func (InterRegionBandwidthsInterRegionBandwidthArray) ElementType

func (InterRegionBandwidthsInterRegionBandwidthArray) ToInterRegionBandwidthsInterRegionBandwidthArrayOutput

func (i InterRegionBandwidthsInterRegionBandwidthArray) ToInterRegionBandwidthsInterRegionBandwidthArrayOutput() InterRegionBandwidthsInterRegionBandwidthArrayOutput

func (InterRegionBandwidthsInterRegionBandwidthArray) ToInterRegionBandwidthsInterRegionBandwidthArrayOutputWithContext

func (i InterRegionBandwidthsInterRegionBandwidthArray) ToInterRegionBandwidthsInterRegionBandwidthArrayOutputWithContext(ctx context.Context) InterRegionBandwidthsInterRegionBandwidthArrayOutput

type InterRegionBandwidthsInterRegionBandwidthArrayInput

type InterRegionBandwidthsInterRegionBandwidthArrayInput interface {
	pulumi.Input

	ToInterRegionBandwidthsInterRegionBandwidthArrayOutput() InterRegionBandwidthsInterRegionBandwidthArrayOutput
	ToInterRegionBandwidthsInterRegionBandwidthArrayOutputWithContext(context.Context) InterRegionBandwidthsInterRegionBandwidthArrayOutput
}

InterRegionBandwidthsInterRegionBandwidthArrayInput is an input type that accepts InterRegionBandwidthsInterRegionBandwidthArray and InterRegionBandwidthsInterRegionBandwidthArrayOutput values. You can construct a concrete instance of `InterRegionBandwidthsInterRegionBandwidthArrayInput` via:

InterRegionBandwidthsInterRegionBandwidthArray{ InterRegionBandwidthsInterRegionBandwidthArgs{...} }

type InterRegionBandwidthsInterRegionBandwidthArrayOutput

type InterRegionBandwidthsInterRegionBandwidthArrayOutput struct{ *pulumi.OutputState }

func (InterRegionBandwidthsInterRegionBandwidthArrayOutput) ElementType

func (InterRegionBandwidthsInterRegionBandwidthArrayOutput) Index

func (InterRegionBandwidthsInterRegionBandwidthArrayOutput) ToInterRegionBandwidthsInterRegionBandwidthArrayOutput

func (InterRegionBandwidthsInterRegionBandwidthArrayOutput) ToInterRegionBandwidthsInterRegionBandwidthArrayOutputWithContext

func (o InterRegionBandwidthsInterRegionBandwidthArrayOutput) ToInterRegionBandwidthsInterRegionBandwidthArrayOutputWithContext(ctx context.Context) InterRegionBandwidthsInterRegionBandwidthArrayOutput

type InterRegionBandwidthsInterRegionBandwidthInput

type InterRegionBandwidthsInterRegionBandwidthInput interface {
	pulumi.Input

	ToInterRegionBandwidthsInterRegionBandwidthOutput() InterRegionBandwidthsInterRegionBandwidthOutput
	ToInterRegionBandwidthsInterRegionBandwidthOutputWithContext(context.Context) InterRegionBandwidthsInterRegionBandwidthOutput
}

InterRegionBandwidthsInterRegionBandwidthInput is an input type that accepts InterRegionBandwidthsInterRegionBandwidthArgs and InterRegionBandwidthsInterRegionBandwidthOutput values. You can construct a concrete instance of `InterRegionBandwidthsInterRegionBandwidthInput` via:

InterRegionBandwidthsInterRegionBandwidthArgs{...}

type InterRegionBandwidthsInterRegionBandwidthOutput

type InterRegionBandwidthsInterRegionBandwidthOutput struct{ *pulumi.OutputState }

func (InterRegionBandwidthsInterRegionBandwidthOutput) Bandwidth

The bandwidth of the cen inter region bandwidth.

func (InterRegionBandwidthsInterRegionBandwidthOutput) CenId

The cen ID of the cen inter region bandwidth.

func (InterRegionBandwidthsInterRegionBandwidthOutput) CreationTime

The create time of the cen inter region bandwidth.

func (InterRegionBandwidthsInterRegionBandwidthOutput) ElementType

func (InterRegionBandwidthsInterRegionBandwidthOutput) Id

The ID of the cen inter region bandwidth.

func (InterRegionBandwidthsInterRegionBandwidthOutput) InterRegionBandwidthId

The ID of the cen inter region bandwidth.

func (InterRegionBandwidthsInterRegionBandwidthOutput) LocalRegionId

The local region id of the cen inter region bandwidth.

func (InterRegionBandwidthsInterRegionBandwidthOutput) PeerRegionId

The peer region id of the cen inter region bandwidth.

func (InterRegionBandwidthsInterRegionBandwidthOutput) Status

The status of the cen inter region bandwidth.

func (InterRegionBandwidthsInterRegionBandwidthOutput) ToInterRegionBandwidthsInterRegionBandwidthOutput

func (o InterRegionBandwidthsInterRegionBandwidthOutput) ToInterRegionBandwidthsInterRegionBandwidthOutput() InterRegionBandwidthsInterRegionBandwidthOutput

func (InterRegionBandwidthsInterRegionBandwidthOutput) ToInterRegionBandwidthsInterRegionBandwidthOutputWithContext

func (o InterRegionBandwidthsInterRegionBandwidthOutput) ToInterRegionBandwidthsInterRegionBandwidthOutputWithContext(ctx context.Context) InterRegionBandwidthsInterRegionBandwidthOutput

func (InterRegionBandwidthsInterRegionBandwidthOutput) UpdateTime

The update time of the cen inter region bandwidth.

type InterRegionBandwidthsOutputArgs

type InterRegionBandwidthsOutputArgs struct {
	// A list of cen inter region bandwidth IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking InterRegionBandwidths.

func (InterRegionBandwidthsOutputArgs) ElementType

type InterRegionBandwidthsResult

type InterRegionBandwidthsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The collection of cen inter region bandwidth query.
	InterRegionBandwidths []InterRegionBandwidthsInterRegionBandwidth `pulumi:"interRegionBandwidths"`
	OutputFile            *string                                     `pulumi:"outputFile"`
	// The total count of cen inter region bandwidth query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by InterRegionBandwidths.

func InterRegionBandwidths

func InterRegionBandwidths(ctx *pulumi.Context, args *InterRegionBandwidthsArgs, opts ...pulumi.InvokeOption) (*InterRegionBandwidthsResult, error)

Use this data source to query detailed information of cen inter region bandwidths ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.InterRegionBandwidths(ctx, &cen.InterRegionBandwidthsArgs{
			Ids: []string{
				"cirb-274q484wxao007fap8tlvl6si",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type InterRegionBandwidthsResultOutput

type InterRegionBandwidthsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by InterRegionBandwidths.

func (InterRegionBandwidthsResultOutput) ElementType

func (InterRegionBandwidthsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (InterRegionBandwidthsResultOutput) Ids

func (InterRegionBandwidthsResultOutput) InterRegionBandwidths

The collection of cen inter region bandwidth query.

func (InterRegionBandwidthsResultOutput) OutputFile

func (InterRegionBandwidthsResultOutput) ToInterRegionBandwidthsResultOutput

func (o InterRegionBandwidthsResultOutput) ToInterRegionBandwidthsResultOutput() InterRegionBandwidthsResultOutput

func (InterRegionBandwidthsResultOutput) ToInterRegionBandwidthsResultOutputWithContext

func (o InterRegionBandwidthsResultOutput) ToInterRegionBandwidthsResultOutputWithContext(ctx context.Context) InterRegionBandwidthsResultOutput

func (InterRegionBandwidthsResultOutput) TotalCount

The total count of cen inter region bandwidth query.

type RouteEntriesArgs

type RouteEntriesArgs struct {
	// A cen ID.
	CenId string `pulumi:"cenId"`
	// A destination cidr block.
	DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
	// An instance ID.
	InstanceId *string `pulumi:"instanceId"`
	// An instance region ID.
	InstanceRegionId *string `pulumi:"instanceRegionId"`
	// An instance type.
	InstanceType *string `pulumi:"instanceType"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking RouteEntries.

type RouteEntriesCenRouteEntry

type RouteEntriesCenRouteEntry struct {
	// The AS path of the cen route entry.
	AsPaths []string `pulumi:"asPaths"`
	// A cen ID.
	CenId string `pulumi:"cenId"`
	// A destination cidr block.
	DestinationCidrBlock string `pulumi:"destinationCidrBlock"`
	// An instance ID.
	InstanceId string `pulumi:"instanceId"`
	// An instance region ID.
	InstanceRegionId string `pulumi:"instanceRegionId"`
	// An instance type.
	InstanceType string `pulumi:"instanceType"`
	// The publish status of the cen route entry.
	PublishStatus string `pulumi:"publishStatus"`
	// The status of the cen route entry.
	Status string `pulumi:"status"`
}

type RouteEntriesCenRouteEntryArgs

type RouteEntriesCenRouteEntryArgs struct {
	// The AS path of the cen route entry.
	AsPaths pulumi.StringArrayInput `pulumi:"asPaths"`
	// A cen ID.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// A destination cidr block.
	DestinationCidrBlock pulumi.StringInput `pulumi:"destinationCidrBlock"`
	// An instance ID.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// An instance region ID.
	InstanceRegionId pulumi.StringInput `pulumi:"instanceRegionId"`
	// An instance type.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// The publish status of the cen route entry.
	PublishStatus pulumi.StringInput `pulumi:"publishStatus"`
	// The status of the cen route entry.
	Status pulumi.StringInput `pulumi:"status"`
}

func (RouteEntriesCenRouteEntryArgs) ElementType

func (RouteEntriesCenRouteEntryArgs) ToRouteEntriesCenRouteEntryOutput

func (i RouteEntriesCenRouteEntryArgs) ToRouteEntriesCenRouteEntryOutput() RouteEntriesCenRouteEntryOutput

func (RouteEntriesCenRouteEntryArgs) ToRouteEntriesCenRouteEntryOutputWithContext

func (i RouteEntriesCenRouteEntryArgs) ToRouteEntriesCenRouteEntryOutputWithContext(ctx context.Context) RouteEntriesCenRouteEntryOutput

type RouteEntriesCenRouteEntryArray

type RouteEntriesCenRouteEntryArray []RouteEntriesCenRouteEntryInput

func (RouteEntriesCenRouteEntryArray) ElementType

func (RouteEntriesCenRouteEntryArray) ToRouteEntriesCenRouteEntryArrayOutput

func (i RouteEntriesCenRouteEntryArray) ToRouteEntriesCenRouteEntryArrayOutput() RouteEntriesCenRouteEntryArrayOutput

func (RouteEntriesCenRouteEntryArray) ToRouteEntriesCenRouteEntryArrayOutputWithContext

func (i RouteEntriesCenRouteEntryArray) ToRouteEntriesCenRouteEntryArrayOutputWithContext(ctx context.Context) RouteEntriesCenRouteEntryArrayOutput

type RouteEntriesCenRouteEntryArrayInput

type RouteEntriesCenRouteEntryArrayInput interface {
	pulumi.Input

	ToRouteEntriesCenRouteEntryArrayOutput() RouteEntriesCenRouteEntryArrayOutput
	ToRouteEntriesCenRouteEntryArrayOutputWithContext(context.Context) RouteEntriesCenRouteEntryArrayOutput
}

RouteEntriesCenRouteEntryArrayInput is an input type that accepts RouteEntriesCenRouteEntryArray and RouteEntriesCenRouteEntryArrayOutput values. You can construct a concrete instance of `RouteEntriesCenRouteEntryArrayInput` via:

RouteEntriesCenRouteEntryArray{ RouteEntriesCenRouteEntryArgs{...} }

type RouteEntriesCenRouteEntryArrayOutput

type RouteEntriesCenRouteEntryArrayOutput struct{ *pulumi.OutputState }

func (RouteEntriesCenRouteEntryArrayOutput) ElementType

func (RouteEntriesCenRouteEntryArrayOutput) Index

func (RouteEntriesCenRouteEntryArrayOutput) ToRouteEntriesCenRouteEntryArrayOutput

func (o RouteEntriesCenRouteEntryArrayOutput) ToRouteEntriesCenRouteEntryArrayOutput() RouteEntriesCenRouteEntryArrayOutput

func (RouteEntriesCenRouteEntryArrayOutput) ToRouteEntriesCenRouteEntryArrayOutputWithContext

func (o RouteEntriesCenRouteEntryArrayOutput) ToRouteEntriesCenRouteEntryArrayOutputWithContext(ctx context.Context) RouteEntriesCenRouteEntryArrayOutput

type RouteEntriesCenRouteEntryInput

type RouteEntriesCenRouteEntryInput interface {
	pulumi.Input

	ToRouteEntriesCenRouteEntryOutput() RouteEntriesCenRouteEntryOutput
	ToRouteEntriesCenRouteEntryOutputWithContext(context.Context) RouteEntriesCenRouteEntryOutput
}

RouteEntriesCenRouteEntryInput is an input type that accepts RouteEntriesCenRouteEntryArgs and RouteEntriesCenRouteEntryOutput values. You can construct a concrete instance of `RouteEntriesCenRouteEntryInput` via:

RouteEntriesCenRouteEntryArgs{...}

type RouteEntriesCenRouteEntryOutput

type RouteEntriesCenRouteEntryOutput struct{ *pulumi.OutputState }

func (RouteEntriesCenRouteEntryOutput) AsPaths

The AS path of the cen route entry.

func (RouteEntriesCenRouteEntryOutput) CenId

A cen ID.

func (RouteEntriesCenRouteEntryOutput) DestinationCidrBlock

func (o RouteEntriesCenRouteEntryOutput) DestinationCidrBlock() pulumi.StringOutput

A destination cidr block.

func (RouteEntriesCenRouteEntryOutput) ElementType

func (RouteEntriesCenRouteEntryOutput) InstanceId

An instance ID.

func (RouteEntriesCenRouteEntryOutput) InstanceRegionId

An instance region ID.

func (RouteEntriesCenRouteEntryOutput) InstanceType

An instance type.

func (RouteEntriesCenRouteEntryOutput) PublishStatus

The publish status of the cen route entry.

func (RouteEntriesCenRouteEntryOutput) Status

The status of the cen route entry.

func (RouteEntriesCenRouteEntryOutput) ToRouteEntriesCenRouteEntryOutput

func (o RouteEntriesCenRouteEntryOutput) ToRouteEntriesCenRouteEntryOutput() RouteEntriesCenRouteEntryOutput

func (RouteEntriesCenRouteEntryOutput) ToRouteEntriesCenRouteEntryOutputWithContext

func (o RouteEntriesCenRouteEntryOutput) ToRouteEntriesCenRouteEntryOutputWithContext(ctx context.Context) RouteEntriesCenRouteEntryOutput

type RouteEntriesOutputArgs

type RouteEntriesOutputArgs struct {
	// A cen ID.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// A destination cidr block.
	DestinationCidrBlock pulumi.StringPtrInput `pulumi:"destinationCidrBlock"`
	// An instance ID.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// An instance region ID.
	InstanceRegionId pulumi.StringPtrInput `pulumi:"instanceRegionId"`
	// An instance type.
	InstanceType pulumi.StringPtrInput `pulumi:"instanceType"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking RouteEntries.

func (RouteEntriesOutputArgs) ElementType

func (RouteEntriesOutputArgs) ElementType() reflect.Type

type RouteEntriesResult

type RouteEntriesResult struct {
	// The cen ID of the cen route entry.
	CenId string `pulumi:"cenId"`
	// The collection of cen route entry query.
	CenRouteEntries []RouteEntriesCenRouteEntry `pulumi:"cenRouteEntries"`
	// The destination cidr block of the cen route entry.
	DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The instance id of the next hop of the cen route entry.
	InstanceId *string `pulumi:"instanceId"`
	// The instance region id of the next hop of the cen route entry.
	InstanceRegionId *string `pulumi:"instanceRegionId"`
	// The instance type of the next hop of the cen route entry.
	InstanceType *string `pulumi:"instanceType"`
	OutputFile   *string `pulumi:"outputFile"`
	// The total count of cen route entry.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by RouteEntries.

func RouteEntries

func RouteEntries(ctx *pulumi.Context, args *RouteEntriesArgs, opts ...pulumi.InvokeOption) (*RouteEntriesResult, error)

Use this data source to query detailed information of cen route entries ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.RouteEntries(ctx, &cen.RouteEntriesArgs{
			CenId: "cen-12ar8uclj68sg17q7y20v9gil",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type RouteEntriesResultOutput

type RouteEntriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by RouteEntries.

func (RouteEntriesResultOutput) CenId

The cen ID of the cen route entry.

func (RouteEntriesResultOutput) CenRouteEntries

The collection of cen route entry query.

func (RouteEntriesResultOutput) DestinationCidrBlock

func (o RouteEntriesResultOutput) DestinationCidrBlock() pulumi.StringPtrOutput

The destination cidr block of the cen route entry.

func (RouteEntriesResultOutput) ElementType

func (RouteEntriesResultOutput) ElementType() reflect.Type

func (RouteEntriesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (RouteEntriesResultOutput) InstanceId

The instance id of the next hop of the cen route entry.

func (RouteEntriesResultOutput) InstanceRegionId

func (o RouteEntriesResultOutput) InstanceRegionId() pulumi.StringPtrOutput

The instance region id of the next hop of the cen route entry.

func (RouteEntriesResultOutput) InstanceType

The instance type of the next hop of the cen route entry.

func (RouteEntriesResultOutput) OutputFile

func (RouteEntriesResultOutput) ToRouteEntriesResultOutput

func (o RouteEntriesResultOutput) ToRouteEntriesResultOutput() RouteEntriesResultOutput

func (RouteEntriesResultOutput) ToRouteEntriesResultOutputWithContext

func (o RouteEntriesResultOutput) ToRouteEntriesResultOutputWithContext(ctx context.Context) RouteEntriesResultOutput

func (RouteEntriesResultOutput) TotalCount

func (o RouteEntriesResultOutput) TotalCount() pulumi.IntOutput

The total count of cen route entry.

type RouteEntry

type RouteEntry struct {
	pulumi.CustomResourceState

	// The AS path of the cen route entry.
	AsPaths pulumi.StringArrayOutput `pulumi:"asPaths"`
	// The cen ID of the cen route entry.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The destination cidr block of the cen route entry.
	DestinationCidrBlock pulumi.StringOutput `pulumi:"destinationCidrBlock"`
	// The instance id of the next hop of the cen route entry.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The instance region id of the next hop of the cen route entry.
	InstanceRegionId pulumi.StringOutput `pulumi:"instanceRegionId"`
	// The instance type of the next hop of the cen route entry.
	InstanceType pulumi.StringPtrOutput `pulumi:"instanceType"`
	// The publish status of the cen route entry.
	PublishStatus pulumi.StringOutput `pulumi:"publishStatus"`
	// The status of the cen route entry.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a resource to manage cen route entry ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewRouteEntry(ctx, "foo", &cen.RouteEntryArgs{
			CenId:                pulumi.String("cen-12ar8uclj68sg17q7y20v9gil"),
			DestinationCidrBlock: pulumi.String("192.168.0.0/24"),
			InstanceId:           pulumi.String("vpc-im67wjcikxkw8gbssx8ufpj8"),
			InstanceRegionId:     pulumi.String("cn-beijing"),
			InstanceType:         pulumi.String("VPC"),
		})
		if err != nil {
			return err
		}
		_, err = cen.NewRouteEntry(ctx, "foo1", &cen.RouteEntryArgs{
			CenId:                pulumi.String("cen-12ar8uclj68sg17q7y20v9gil"),
			DestinationCidrBlock: pulumi.String("192.168.17.0/24"),
			InstanceId:           pulumi.String("vpc-im67wjcikxkw8gbssx8ufpj8"),
			InstanceRegionId:     pulumi.String("cn-beijing"),
			InstanceType:         pulumi.String("VPC"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CenRouteEntry can be imported using the CenId:DestinationCidrBlock:InstanceId:InstanceType:InstanceRegionId, e.g.

```sh

$ pulumi import volcengine:cen/routeEntry:RouteEntry default cen-2nim00ybaylts7trquyzt****:100.XX.XX.0/24:vpc-vtbnbb04qw3k2hgi12cv****:VPC:cn-beijing

```

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

type RouteEntryArgs

type RouteEntryArgs struct {
	// The cen ID of the cen route entry.
	CenId pulumi.StringInput
	// The destination cidr block of the cen route entry.
	DestinationCidrBlock pulumi.StringInput
	// The instance id of the next hop of the cen route entry.
	InstanceId pulumi.StringInput
	// The instance region id of the next hop of the cen route entry.
	InstanceRegionId pulumi.StringInput
	// The instance type of the next hop of the cen route entry.
	InstanceType pulumi.StringPtrInput
}

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) AsPaths

The AS path of the cen route entry.

func (RouteEntryOutput) CenId

The cen ID of the cen route entry.

func (RouteEntryOutput) DestinationCidrBlock

func (o RouteEntryOutput) DestinationCidrBlock() pulumi.StringOutput

The destination cidr block of the cen route entry.

func (RouteEntryOutput) ElementType

func (RouteEntryOutput) ElementType() reflect.Type

func (RouteEntryOutput) InstanceId

func (o RouteEntryOutput) InstanceId() pulumi.StringOutput

The instance id of the next hop of the cen route entry.

func (RouteEntryOutput) InstanceRegionId

func (o RouteEntryOutput) InstanceRegionId() pulumi.StringOutput

The instance region id of the next hop of the cen route entry.

func (RouteEntryOutput) InstanceType

func (o RouteEntryOutput) InstanceType() pulumi.StringPtrOutput

The instance type of the next hop of the cen route entry.

func (RouteEntryOutput) PublishStatus

func (o RouteEntryOutput) PublishStatus() pulumi.StringOutput

The publish status of the cen route entry.

func (RouteEntryOutput) Status

The status of the cen route entry.

func (RouteEntryOutput) ToRouteEntryOutput

func (o RouteEntryOutput) ToRouteEntryOutput() RouteEntryOutput

func (RouteEntryOutput) ToRouteEntryOutputWithContext

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

type RouteEntryState

type RouteEntryState struct {
	// The AS path of the cen route entry.
	AsPaths pulumi.StringArrayInput
	// The cen ID of the cen route entry.
	CenId pulumi.StringPtrInput
	// The destination cidr block of the cen route entry.
	DestinationCidrBlock pulumi.StringPtrInput
	// The instance id of the next hop of the cen route entry.
	InstanceId pulumi.StringPtrInput
	// The instance region id of the next hop of the cen route entry.
	InstanceRegionId pulumi.StringPtrInput
	// The instance type of the next hop of the cen route entry.
	InstanceType pulumi.StringPtrInput
	// The publish status of the cen route entry.
	PublishStatus pulumi.StringPtrInput
	// The status of the cen route entry.
	Status pulumi.StringPtrInput
}

func (RouteEntryState) ElementType

func (RouteEntryState) ElementType() reflect.Type

type ServiceRouteEntriesArgs

type ServiceRouteEntriesArgs struct {
	// A cen ID.
	CenId *string `pulumi:"cenId"`
	// A destination cidr block.
	DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// A service region id.
	ServiceRegionId *string `pulumi:"serviceRegionId"`
	// A service VPC id.
	ServiceVpcId *string `pulumi:"serviceVpcId"`
}

A collection of arguments for invoking ServiceRouteEntries.

type ServiceRouteEntriesOutputArgs

type ServiceRouteEntriesOutputArgs struct {
	// A cen ID.
	CenId pulumi.StringPtrInput `pulumi:"cenId"`
	// A destination cidr block.
	DestinationCidrBlock pulumi.StringPtrInput `pulumi:"destinationCidrBlock"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// A service region id.
	ServiceRegionId pulumi.StringPtrInput `pulumi:"serviceRegionId"`
	// A service VPC id.
	ServiceVpcId pulumi.StringPtrInput `pulumi:"serviceVpcId"`
}

A collection of arguments for invoking ServiceRouteEntries.

func (ServiceRouteEntriesOutputArgs) ElementType

type ServiceRouteEntriesResult

type ServiceRouteEntriesResult struct {
	// The cen ID of the cen service route entry.
	CenId *string `pulumi:"cenId"`
	// The destination cidr block of the cen service route entry.
	DestinationCidrBlock *string `pulumi:"destinationCidrBlock"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// The service region id of the cen service route entry.
	ServiceRegionId *string `pulumi:"serviceRegionId"`
	// The collection of cen service route entry query.
	ServiceRouteEntries []ServiceRouteEntriesServiceRouteEntry `pulumi:"serviceRouteEntries"`
	// The service VPC id of the cen service route entry.
	ServiceVpcId *string `pulumi:"serviceVpcId"`
	// The total count of cen service route entry.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by ServiceRouteEntries.

func ServiceRouteEntries

func ServiceRouteEntries(ctx *pulumi.Context, args *ServiceRouteEntriesArgs, opts ...pulumi.InvokeOption) (*ServiceRouteEntriesResult, error)

Use this data source to query detailed information of cen service route entries ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.ServiceRouteEntries(ctx, &cen.ServiceRouteEntriesArgs{
			CenId: pulumi.StringRef("cen-12ar8uclj68sg17q7y20v9gil"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type ServiceRouteEntriesResultOutput

type ServiceRouteEntriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by ServiceRouteEntries.

func (ServiceRouteEntriesResultOutput) CenId

The cen ID of the cen service route entry.

func (ServiceRouteEntriesResultOutput) DestinationCidrBlock

func (o ServiceRouteEntriesResultOutput) DestinationCidrBlock() pulumi.StringPtrOutput

The destination cidr block of the cen service route entry.

func (ServiceRouteEntriesResultOutput) ElementType

func (ServiceRouteEntriesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (ServiceRouteEntriesResultOutput) OutputFile

func (ServiceRouteEntriesResultOutput) ServiceRegionId

The service region id of the cen service route entry.

func (ServiceRouteEntriesResultOutput) ServiceRouteEntries

The collection of cen service route entry query.

func (ServiceRouteEntriesResultOutput) ServiceVpcId

The service VPC id of the cen service route entry.

func (ServiceRouteEntriesResultOutput) ToServiceRouteEntriesResultOutput

func (o ServiceRouteEntriesResultOutput) ToServiceRouteEntriesResultOutput() ServiceRouteEntriesResultOutput

func (ServiceRouteEntriesResultOutput) ToServiceRouteEntriesResultOutputWithContext

func (o ServiceRouteEntriesResultOutput) ToServiceRouteEntriesResultOutputWithContext(ctx context.Context) ServiceRouteEntriesResultOutput

func (ServiceRouteEntriesResultOutput) TotalCount

The total count of cen service route entry.

type ServiceRouteEntriesServiceRouteEntry

type ServiceRouteEntriesServiceRouteEntry struct {
	// A cen ID.
	CenId string `pulumi:"cenId"`
	// The create time of the cen service route entry.
	CreationTime string `pulumi:"creationTime"`
	// The description of the cen service route entry.
	Description string `pulumi:"description"`
	// A destination cidr block.
	DestinationCidrBlock string `pulumi:"destinationCidrBlock"`
	// Publishing scope of cloud service access routes. Valid values are `LocalDCGW`(default), `Custom`.
	PublishMode string `pulumi:"publishMode"`
	// The publish instances. A maximum of 100 can be uploaded in one request.
	PublishToInstances []ServiceRouteEntriesServiceRouteEntryPublishToInstance `pulumi:"publishToInstances"`
	// A service region id.
	ServiceRegionId string `pulumi:"serviceRegionId"`
	// A service VPC id.
	ServiceVpcId string `pulumi:"serviceVpcId"`
	// The status of the cen service route entry.
	Status string `pulumi:"status"`
}

type ServiceRouteEntriesServiceRouteEntryArgs

type ServiceRouteEntriesServiceRouteEntryArgs struct {
	// A cen ID.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// The create time of the cen service route entry.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The description of the cen service route entry.
	Description pulumi.StringInput `pulumi:"description"`
	// A destination cidr block.
	DestinationCidrBlock pulumi.StringInput `pulumi:"destinationCidrBlock"`
	// Publishing scope of cloud service access routes. Valid values are `LocalDCGW`(default), `Custom`.
	PublishMode pulumi.StringInput `pulumi:"publishMode"`
	// The publish instances. A maximum of 100 can be uploaded in one request.
	PublishToInstances ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayInput `pulumi:"publishToInstances"`
	// A service region id.
	ServiceRegionId pulumi.StringInput `pulumi:"serviceRegionId"`
	// A service VPC id.
	ServiceVpcId pulumi.StringInput `pulumi:"serviceVpcId"`
	// The status of the cen service route entry.
	Status pulumi.StringInput `pulumi:"status"`
}

func (ServiceRouteEntriesServiceRouteEntryArgs) ElementType

func (ServiceRouteEntriesServiceRouteEntryArgs) ToServiceRouteEntriesServiceRouteEntryOutput

func (i ServiceRouteEntriesServiceRouteEntryArgs) ToServiceRouteEntriesServiceRouteEntryOutput() ServiceRouteEntriesServiceRouteEntryOutput

func (ServiceRouteEntriesServiceRouteEntryArgs) ToServiceRouteEntriesServiceRouteEntryOutputWithContext

func (i ServiceRouteEntriesServiceRouteEntryArgs) ToServiceRouteEntriesServiceRouteEntryOutputWithContext(ctx context.Context) ServiceRouteEntriesServiceRouteEntryOutput

type ServiceRouteEntriesServiceRouteEntryArray

type ServiceRouteEntriesServiceRouteEntryArray []ServiceRouteEntriesServiceRouteEntryInput

func (ServiceRouteEntriesServiceRouteEntryArray) ElementType

func (ServiceRouteEntriesServiceRouteEntryArray) ToServiceRouteEntriesServiceRouteEntryArrayOutput

func (i ServiceRouteEntriesServiceRouteEntryArray) ToServiceRouteEntriesServiceRouteEntryArrayOutput() ServiceRouteEntriesServiceRouteEntryArrayOutput

func (ServiceRouteEntriesServiceRouteEntryArray) ToServiceRouteEntriesServiceRouteEntryArrayOutputWithContext

func (i ServiceRouteEntriesServiceRouteEntryArray) ToServiceRouteEntriesServiceRouteEntryArrayOutputWithContext(ctx context.Context) ServiceRouteEntriesServiceRouteEntryArrayOutput

type ServiceRouteEntriesServiceRouteEntryArrayInput

type ServiceRouteEntriesServiceRouteEntryArrayInput interface {
	pulumi.Input

	ToServiceRouteEntriesServiceRouteEntryArrayOutput() ServiceRouteEntriesServiceRouteEntryArrayOutput
	ToServiceRouteEntriesServiceRouteEntryArrayOutputWithContext(context.Context) ServiceRouteEntriesServiceRouteEntryArrayOutput
}

ServiceRouteEntriesServiceRouteEntryArrayInput is an input type that accepts ServiceRouteEntriesServiceRouteEntryArray and ServiceRouteEntriesServiceRouteEntryArrayOutput values. You can construct a concrete instance of `ServiceRouteEntriesServiceRouteEntryArrayInput` via:

ServiceRouteEntriesServiceRouteEntryArray{ ServiceRouteEntriesServiceRouteEntryArgs{...} }

type ServiceRouteEntriesServiceRouteEntryArrayOutput

type ServiceRouteEntriesServiceRouteEntryArrayOutput struct{ *pulumi.OutputState }

func (ServiceRouteEntriesServiceRouteEntryArrayOutput) ElementType

func (ServiceRouteEntriesServiceRouteEntryArrayOutput) Index

func (ServiceRouteEntriesServiceRouteEntryArrayOutput) ToServiceRouteEntriesServiceRouteEntryArrayOutput

func (o ServiceRouteEntriesServiceRouteEntryArrayOutput) ToServiceRouteEntriesServiceRouteEntryArrayOutput() ServiceRouteEntriesServiceRouteEntryArrayOutput

func (ServiceRouteEntriesServiceRouteEntryArrayOutput) ToServiceRouteEntriesServiceRouteEntryArrayOutputWithContext

func (o ServiceRouteEntriesServiceRouteEntryArrayOutput) ToServiceRouteEntriesServiceRouteEntryArrayOutputWithContext(ctx context.Context) ServiceRouteEntriesServiceRouteEntryArrayOutput

type ServiceRouteEntriesServiceRouteEntryInput

type ServiceRouteEntriesServiceRouteEntryInput interface {
	pulumi.Input

	ToServiceRouteEntriesServiceRouteEntryOutput() ServiceRouteEntriesServiceRouteEntryOutput
	ToServiceRouteEntriesServiceRouteEntryOutputWithContext(context.Context) ServiceRouteEntriesServiceRouteEntryOutput
}

ServiceRouteEntriesServiceRouteEntryInput is an input type that accepts ServiceRouteEntriesServiceRouteEntryArgs and ServiceRouteEntriesServiceRouteEntryOutput values. You can construct a concrete instance of `ServiceRouteEntriesServiceRouteEntryInput` via:

ServiceRouteEntriesServiceRouteEntryArgs{...}

type ServiceRouteEntriesServiceRouteEntryOutput

type ServiceRouteEntriesServiceRouteEntryOutput struct{ *pulumi.OutputState }

func (ServiceRouteEntriesServiceRouteEntryOutput) CenId

A cen ID.

func (ServiceRouteEntriesServiceRouteEntryOutput) CreationTime

The create time of the cen service route entry.

func (ServiceRouteEntriesServiceRouteEntryOutput) Description

The description of the cen service route entry.

func (ServiceRouteEntriesServiceRouteEntryOutput) DestinationCidrBlock

A destination cidr block.

func (ServiceRouteEntriesServiceRouteEntryOutput) ElementType

func (ServiceRouteEntriesServiceRouteEntryOutput) PublishMode

Publishing scope of cloud service access routes. Valid values are `LocalDCGW`(default), `Custom`.

func (ServiceRouteEntriesServiceRouteEntryOutput) PublishToInstances

The publish instances. A maximum of 100 can be uploaded in one request.

func (ServiceRouteEntriesServiceRouteEntryOutput) ServiceRegionId

A service region id.

func (ServiceRouteEntriesServiceRouteEntryOutput) ServiceVpcId

A service VPC id.

func (ServiceRouteEntriesServiceRouteEntryOutput) Status

The status of the cen service route entry.

func (ServiceRouteEntriesServiceRouteEntryOutput) ToServiceRouteEntriesServiceRouteEntryOutput

func (o ServiceRouteEntriesServiceRouteEntryOutput) ToServiceRouteEntriesServiceRouteEntryOutput() ServiceRouteEntriesServiceRouteEntryOutput

func (ServiceRouteEntriesServiceRouteEntryOutput) ToServiceRouteEntriesServiceRouteEntryOutputWithContext

func (o ServiceRouteEntriesServiceRouteEntryOutput) ToServiceRouteEntriesServiceRouteEntryOutputWithContext(ctx context.Context) ServiceRouteEntriesServiceRouteEntryOutput

type ServiceRouteEntriesServiceRouteEntryPublishToInstance

type ServiceRouteEntriesServiceRouteEntryPublishToInstance struct {
	// Cloud service access routes need to publish the network instance ID.
	InstanceId string `pulumi:"instanceId"`
	// The region where the cloud service access route needs to be published.
	InstanceRegionId string `pulumi:"instanceRegionId"`
	// The network instance type that needs to be published for cloud service access routes. The values are as follows: `VPC`, `DCGW`.
	InstanceType string `pulumi:"instanceType"`
}

type ServiceRouteEntriesServiceRouteEntryPublishToInstanceArgs

type ServiceRouteEntriesServiceRouteEntryPublishToInstanceArgs struct {
	// Cloud service access routes need to publish the network instance ID.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The region where the cloud service access route needs to be published.
	InstanceRegionId pulumi.StringInput `pulumi:"instanceRegionId"`
	// The network instance type that needs to be published for cloud service access routes. The values are as follows: `VPC`, `DCGW`.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
}

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceArgs) ElementType

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceArgs) ToServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceArgs) ToServiceRouteEntriesServiceRouteEntryPublishToInstanceOutputWithContext

func (i ServiceRouteEntriesServiceRouteEntryPublishToInstanceArgs) ToServiceRouteEntriesServiceRouteEntryPublishToInstanceOutputWithContext(ctx context.Context) ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput

type ServiceRouteEntriesServiceRouteEntryPublishToInstanceArray

type ServiceRouteEntriesServiceRouteEntryPublishToInstanceArray []ServiceRouteEntriesServiceRouteEntryPublishToInstanceInput

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceArray) ElementType

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceArray) ToServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceArray) ToServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutputWithContext

func (i ServiceRouteEntriesServiceRouteEntryPublishToInstanceArray) ToServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutputWithContext(ctx context.Context) ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput

type ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayInput

type ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayInput interface {
	pulumi.Input

	ToServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput() ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput
	ToServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutputWithContext(context.Context) ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput
}

ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayInput is an input type that accepts ServiceRouteEntriesServiceRouteEntryPublishToInstanceArray and ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput values. You can construct a concrete instance of `ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayInput` via:

ServiceRouteEntriesServiceRouteEntryPublishToInstanceArray{ ServiceRouteEntriesServiceRouteEntryPublishToInstanceArgs{...} }

type ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput

type ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput struct{ *pulumi.OutputState }

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput) ElementType

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput) Index

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput) ToServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput) ToServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutputWithContext

func (o ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput) ToServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutputWithContext(ctx context.Context) ServiceRouteEntriesServiceRouteEntryPublishToInstanceArrayOutput

type ServiceRouteEntriesServiceRouteEntryPublishToInstanceInput

type ServiceRouteEntriesServiceRouteEntryPublishToInstanceInput interface {
	pulumi.Input

	ToServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput() ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput
	ToServiceRouteEntriesServiceRouteEntryPublishToInstanceOutputWithContext(context.Context) ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput
}

ServiceRouteEntriesServiceRouteEntryPublishToInstanceInput is an input type that accepts ServiceRouteEntriesServiceRouteEntryPublishToInstanceArgs and ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput values. You can construct a concrete instance of `ServiceRouteEntriesServiceRouteEntryPublishToInstanceInput` via:

ServiceRouteEntriesServiceRouteEntryPublishToInstanceArgs{...}

type ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput

type ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput struct{ *pulumi.OutputState }

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput) ElementType

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput) InstanceId

Cloud service access routes need to publish the network instance ID.

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput) InstanceRegionId

The region where the cloud service access route needs to be published.

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput) InstanceType

The network instance type that needs to be published for cloud service access routes. The values are as follows: `VPC`, `DCGW`.

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput) ToServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput

func (ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput) ToServiceRouteEntriesServiceRouteEntryPublishToInstanceOutputWithContext

func (o ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput) ToServiceRouteEntriesServiceRouteEntryPublishToInstanceOutputWithContext(ctx context.Context) ServiceRouteEntriesServiceRouteEntryPublishToInstanceOutput

type ServiceRouteEntry

type ServiceRouteEntry struct {
	pulumi.CustomResourceState

	// The cen ID of the cen service route entry.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The create time of the cen service route entry.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// The description of the cen service route entry.
	Description pulumi.StringOutput `pulumi:"description"`
	// The destination cidr block of the cen service route entry.
	DestinationCidrBlock pulumi.StringOutput `pulumi:"destinationCidrBlock"`
	// Publishing scope of cloud service access routes. Valid values are `LocalDCGW`(default), `Custom`.
	PublishMode pulumi.StringPtrOutput `pulumi:"publishMode"`
	// The publish instances. A maximum of 100 can be uploaded in one request. This field needs to be filled in when the `publishMode` is `Custom`.
	PublishToInstances ServiceRouteEntryPublishToInstanceArrayOutput `pulumi:"publishToInstances"`
	// The service region id of the cen service route entry.
	ServiceRegionId pulumi.StringOutput `pulumi:"serviceRegionId"`
	// The service VPC id of the cen service route entry.
	ServiceVpcId pulumi.StringOutput `pulumi:"serviceVpcId"`
	// The status of the cen service route entry.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a resource to manage cen service route entry ## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewServiceRouteEntry(ctx, "foo", &cen.ServiceRouteEntryArgs{
			CenId:                pulumi.String("cen-12ar8uclj68sg17q7y20v9gil"),
			Description:          pulumi.String("test-tf"),
			DestinationCidrBlock: pulumi.String("100.64.0.0/11"),
			PublishMode:          pulumi.String("Custom"),
			PublishToInstances: cen.ServiceRouteEntryPublishToInstanceArray{
				&cen.ServiceRouteEntryPublishToInstanceArgs{
					InstanceId:       pulumi.String("vpc-2fepz36a5ra4g59gp67w197xo"),
					InstanceRegionId: pulumi.String("cn-beijing"),
					InstanceType:     pulumi.String("VPC"),
				},
				&cen.ServiceRouteEntryPublishToInstanceArgs{
					InstanceId:       pulumi.String("vpc-im67wjcikxkw8gbssx8ufpj8"),
					InstanceRegionId: pulumi.String("cn-beijing"),
					InstanceType:     pulumi.String("VPC"),
				},
			},
			ServiceRegionId: pulumi.String("cn-beijing"),
			ServiceVpcId:    pulumi.String("vpc-im67wjcikxkw8gbssx8ufpj8"),
		})
		if err != nil {
			return err
		}
		_, err = cen.NewServiceRouteEntry(ctx, "foo1", &cen.ServiceRouteEntryArgs{
			CenId:                pulumi.String("cen-12ar8uclj68sg17q7y20v9gil"),
			Description:          pulumi.String("test-tf"),
			DestinationCidrBlock: pulumi.String("100.64.0.0/10"),
			PublishMode:          pulumi.String("Custom"),
			PublishToInstances: cen.ServiceRouteEntryPublishToInstanceArray{
				&cen.ServiceRouteEntryPublishToInstanceArgs{
					InstanceId:       pulumi.String("vpc-2fepz36a5ra4g59gp67w197xo"),
					InstanceRegionId: pulumi.String("cn-beijing"),
					InstanceType:     pulumi.String("VPC"),
				},
				&cen.ServiceRouteEntryPublishToInstanceArgs{
					InstanceId:       pulumi.String("vpc-im67wjcikxkw8gbssx8ufpj8"),
					InstanceRegionId: pulumi.String("cn-beijing"),
					InstanceType:     pulumi.String("VPC"),
				},
			},
			ServiceRegionId: pulumi.String("cn-beijing"),
			ServiceVpcId:    pulumi.String("vpc-im67wjcikxkw8gbssx8ufpj8"),
		})
		if err != nil {
			return err
		}
		_, err = cen.NewServiceRouteEntry(ctx, "foo2", &cen.ServiceRouteEntryArgs{
			CenId:                pulumi.String("cen-12ar8uclj68sg17q7y20v9gil"),
			Description:          pulumi.String("test-tf"),
			DestinationCidrBlock: pulumi.String("100.64.0.0/12"),
			PublishMode:          pulumi.String("Custom"),
			PublishToInstances: cen.ServiceRouteEntryPublishToInstanceArray{
				&cen.ServiceRouteEntryPublishToInstanceArgs{
					InstanceId:       pulumi.String("vpc-2fepz36a5ra4g59gp67w197xo"),
					InstanceRegionId: pulumi.String("cn-beijing"),
					InstanceType:     pulumi.String("VPC"),
				},
				&cen.ServiceRouteEntryPublishToInstanceArgs{
					InstanceId:       pulumi.String("vpc-im67wjcikxkw8gbssx8ufpj8"),
					InstanceRegionId: pulumi.String("cn-beijing"),
					InstanceType:     pulumi.String("VPC"),
				},
			},
			ServiceRegionId: pulumi.String("cn-beijing"),
			ServiceVpcId:    pulumi.String("vpc-im67wjcikxkw8gbssx8ufpj8"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CenServiceRouteEntry can be imported using the CenId:DestinationCidrBlock:ServiceRegionId:ServiceVpcId, e.g.

```sh

$ pulumi import volcengine:cen/serviceRouteEntry:ServiceRouteEntry default cen-2nim00ybaylts7trquyzt****:100.XX.XX.0/24:cn-beijing:vpc-3rlkeggyn6tc010exd32q****

```

func GetServiceRouteEntry

func GetServiceRouteEntry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceRouteEntryState, opts ...pulumi.ResourceOption) (*ServiceRouteEntry, error)

GetServiceRouteEntry gets an existing ServiceRouteEntry 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 NewServiceRouteEntry

func NewServiceRouteEntry(ctx *pulumi.Context,
	name string, args *ServiceRouteEntryArgs, opts ...pulumi.ResourceOption) (*ServiceRouteEntry, error)

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

func (*ServiceRouteEntry) ElementType

func (*ServiceRouteEntry) ElementType() reflect.Type

func (*ServiceRouteEntry) ToServiceRouteEntryOutput

func (i *ServiceRouteEntry) ToServiceRouteEntryOutput() ServiceRouteEntryOutput

func (*ServiceRouteEntry) ToServiceRouteEntryOutputWithContext

func (i *ServiceRouteEntry) ToServiceRouteEntryOutputWithContext(ctx context.Context) ServiceRouteEntryOutput

type ServiceRouteEntryArgs

type ServiceRouteEntryArgs struct {
	// The cen ID of the cen service route entry.
	CenId pulumi.StringInput
	// The description of the cen service route entry.
	Description pulumi.StringPtrInput
	// The destination cidr block of the cen service route entry.
	DestinationCidrBlock pulumi.StringInput
	// Publishing scope of cloud service access routes. Valid values are `LocalDCGW`(default), `Custom`.
	PublishMode pulumi.StringPtrInput
	// The publish instances. A maximum of 100 can be uploaded in one request. This field needs to be filled in when the `publishMode` is `Custom`.
	PublishToInstances ServiceRouteEntryPublishToInstanceArrayInput
	// The service region id of the cen service route entry.
	ServiceRegionId pulumi.StringInput
	// The service VPC id of the cen service route entry.
	ServiceVpcId pulumi.StringInput
}

The set of arguments for constructing a ServiceRouteEntry resource.

func (ServiceRouteEntryArgs) ElementType

func (ServiceRouteEntryArgs) ElementType() reflect.Type

type ServiceRouteEntryArray

type ServiceRouteEntryArray []ServiceRouteEntryInput

func (ServiceRouteEntryArray) ElementType

func (ServiceRouteEntryArray) ElementType() reflect.Type

func (ServiceRouteEntryArray) ToServiceRouteEntryArrayOutput

func (i ServiceRouteEntryArray) ToServiceRouteEntryArrayOutput() ServiceRouteEntryArrayOutput

func (ServiceRouteEntryArray) ToServiceRouteEntryArrayOutputWithContext

func (i ServiceRouteEntryArray) ToServiceRouteEntryArrayOutputWithContext(ctx context.Context) ServiceRouteEntryArrayOutput

type ServiceRouteEntryArrayInput

type ServiceRouteEntryArrayInput interface {
	pulumi.Input

	ToServiceRouteEntryArrayOutput() ServiceRouteEntryArrayOutput
	ToServiceRouteEntryArrayOutputWithContext(context.Context) ServiceRouteEntryArrayOutput
}

ServiceRouteEntryArrayInput is an input type that accepts ServiceRouteEntryArray and ServiceRouteEntryArrayOutput values. You can construct a concrete instance of `ServiceRouteEntryArrayInput` via:

ServiceRouteEntryArray{ ServiceRouteEntryArgs{...} }

type ServiceRouteEntryArrayOutput

type ServiceRouteEntryArrayOutput struct{ *pulumi.OutputState }

func (ServiceRouteEntryArrayOutput) ElementType

func (ServiceRouteEntryArrayOutput) Index

func (ServiceRouteEntryArrayOutput) ToServiceRouteEntryArrayOutput

func (o ServiceRouteEntryArrayOutput) ToServiceRouteEntryArrayOutput() ServiceRouteEntryArrayOutput

func (ServiceRouteEntryArrayOutput) ToServiceRouteEntryArrayOutputWithContext

func (o ServiceRouteEntryArrayOutput) ToServiceRouteEntryArrayOutputWithContext(ctx context.Context) ServiceRouteEntryArrayOutput

type ServiceRouteEntryInput

type ServiceRouteEntryInput interface {
	pulumi.Input

	ToServiceRouteEntryOutput() ServiceRouteEntryOutput
	ToServiceRouteEntryOutputWithContext(ctx context.Context) ServiceRouteEntryOutput
}

type ServiceRouteEntryMap

type ServiceRouteEntryMap map[string]ServiceRouteEntryInput

func (ServiceRouteEntryMap) ElementType

func (ServiceRouteEntryMap) ElementType() reflect.Type

func (ServiceRouteEntryMap) ToServiceRouteEntryMapOutput

func (i ServiceRouteEntryMap) ToServiceRouteEntryMapOutput() ServiceRouteEntryMapOutput

func (ServiceRouteEntryMap) ToServiceRouteEntryMapOutputWithContext

func (i ServiceRouteEntryMap) ToServiceRouteEntryMapOutputWithContext(ctx context.Context) ServiceRouteEntryMapOutput

type ServiceRouteEntryMapInput

type ServiceRouteEntryMapInput interface {
	pulumi.Input

	ToServiceRouteEntryMapOutput() ServiceRouteEntryMapOutput
	ToServiceRouteEntryMapOutputWithContext(context.Context) ServiceRouteEntryMapOutput
}

ServiceRouteEntryMapInput is an input type that accepts ServiceRouteEntryMap and ServiceRouteEntryMapOutput values. You can construct a concrete instance of `ServiceRouteEntryMapInput` via:

ServiceRouteEntryMap{ "key": ServiceRouteEntryArgs{...} }

type ServiceRouteEntryMapOutput

type ServiceRouteEntryMapOutput struct{ *pulumi.OutputState }

func (ServiceRouteEntryMapOutput) ElementType

func (ServiceRouteEntryMapOutput) ElementType() reflect.Type

func (ServiceRouteEntryMapOutput) MapIndex

func (ServiceRouteEntryMapOutput) ToServiceRouteEntryMapOutput

func (o ServiceRouteEntryMapOutput) ToServiceRouteEntryMapOutput() ServiceRouteEntryMapOutput

func (ServiceRouteEntryMapOutput) ToServiceRouteEntryMapOutputWithContext

func (o ServiceRouteEntryMapOutput) ToServiceRouteEntryMapOutputWithContext(ctx context.Context) ServiceRouteEntryMapOutput

type ServiceRouteEntryOutput

type ServiceRouteEntryOutput struct{ *pulumi.OutputState }

func (ServiceRouteEntryOutput) CenId

The cen ID of the cen service route entry.

func (ServiceRouteEntryOutput) CreationTime

func (o ServiceRouteEntryOutput) CreationTime() pulumi.StringOutput

The create time of the cen service route entry.

func (ServiceRouteEntryOutput) Description

The description of the cen service route entry.

func (ServiceRouteEntryOutput) DestinationCidrBlock

func (o ServiceRouteEntryOutput) DestinationCidrBlock() pulumi.StringOutput

The destination cidr block of the cen service route entry.

func (ServiceRouteEntryOutput) ElementType

func (ServiceRouteEntryOutput) ElementType() reflect.Type

func (ServiceRouteEntryOutput) PublishMode

Publishing scope of cloud service access routes. Valid values are `LocalDCGW`(default), `Custom`.

func (ServiceRouteEntryOutput) PublishToInstances

The publish instances. A maximum of 100 can be uploaded in one request. This field needs to be filled in when the `publishMode` is `Custom`.

func (ServiceRouteEntryOutput) ServiceRegionId

func (o ServiceRouteEntryOutput) ServiceRegionId() pulumi.StringOutput

The service region id of the cen service route entry.

func (ServiceRouteEntryOutput) ServiceVpcId

func (o ServiceRouteEntryOutput) ServiceVpcId() pulumi.StringOutput

The service VPC id of the cen service route entry.

func (ServiceRouteEntryOutput) Status

The status of the cen service route entry.

func (ServiceRouteEntryOutput) ToServiceRouteEntryOutput

func (o ServiceRouteEntryOutput) ToServiceRouteEntryOutput() ServiceRouteEntryOutput

func (ServiceRouteEntryOutput) ToServiceRouteEntryOutputWithContext

func (o ServiceRouteEntryOutput) ToServiceRouteEntryOutputWithContext(ctx context.Context) ServiceRouteEntryOutput

type ServiceRouteEntryPublishToInstance

type ServiceRouteEntryPublishToInstance struct {
	// Cloud service access routes need to publish the network instance ID.
	InstanceId *string `pulumi:"instanceId"`
	// The region where the cloud service access route needs to be published.
	InstanceRegionId *string `pulumi:"instanceRegionId"`
	// The network instance type that needs to be published for cloud service access routes. The values are as follows: `VPC`, `DCGW`.
	InstanceType *string `pulumi:"instanceType"`
}

type ServiceRouteEntryPublishToInstanceArgs

type ServiceRouteEntryPublishToInstanceArgs struct {
	// Cloud service access routes need to publish the network instance ID.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// The region where the cloud service access route needs to be published.
	InstanceRegionId pulumi.StringPtrInput `pulumi:"instanceRegionId"`
	// The network instance type that needs to be published for cloud service access routes. The values are as follows: `VPC`, `DCGW`.
	InstanceType pulumi.StringPtrInput `pulumi:"instanceType"`
}

func (ServiceRouteEntryPublishToInstanceArgs) ElementType

func (ServiceRouteEntryPublishToInstanceArgs) ToServiceRouteEntryPublishToInstanceOutput

func (i ServiceRouteEntryPublishToInstanceArgs) ToServiceRouteEntryPublishToInstanceOutput() ServiceRouteEntryPublishToInstanceOutput

func (ServiceRouteEntryPublishToInstanceArgs) ToServiceRouteEntryPublishToInstanceOutputWithContext

func (i ServiceRouteEntryPublishToInstanceArgs) ToServiceRouteEntryPublishToInstanceOutputWithContext(ctx context.Context) ServiceRouteEntryPublishToInstanceOutput

type ServiceRouteEntryPublishToInstanceArray

type ServiceRouteEntryPublishToInstanceArray []ServiceRouteEntryPublishToInstanceInput

func (ServiceRouteEntryPublishToInstanceArray) ElementType

func (ServiceRouteEntryPublishToInstanceArray) ToServiceRouteEntryPublishToInstanceArrayOutput

func (i ServiceRouteEntryPublishToInstanceArray) ToServiceRouteEntryPublishToInstanceArrayOutput() ServiceRouteEntryPublishToInstanceArrayOutput

func (ServiceRouteEntryPublishToInstanceArray) ToServiceRouteEntryPublishToInstanceArrayOutputWithContext

func (i ServiceRouteEntryPublishToInstanceArray) ToServiceRouteEntryPublishToInstanceArrayOutputWithContext(ctx context.Context) ServiceRouteEntryPublishToInstanceArrayOutput

type ServiceRouteEntryPublishToInstanceArrayInput

type ServiceRouteEntryPublishToInstanceArrayInput interface {
	pulumi.Input

	ToServiceRouteEntryPublishToInstanceArrayOutput() ServiceRouteEntryPublishToInstanceArrayOutput
	ToServiceRouteEntryPublishToInstanceArrayOutputWithContext(context.Context) ServiceRouteEntryPublishToInstanceArrayOutput
}

ServiceRouteEntryPublishToInstanceArrayInput is an input type that accepts ServiceRouteEntryPublishToInstanceArray and ServiceRouteEntryPublishToInstanceArrayOutput values. You can construct a concrete instance of `ServiceRouteEntryPublishToInstanceArrayInput` via:

ServiceRouteEntryPublishToInstanceArray{ ServiceRouteEntryPublishToInstanceArgs{...} }

type ServiceRouteEntryPublishToInstanceArrayOutput

type ServiceRouteEntryPublishToInstanceArrayOutput struct{ *pulumi.OutputState }

func (ServiceRouteEntryPublishToInstanceArrayOutput) ElementType

func (ServiceRouteEntryPublishToInstanceArrayOutput) Index

func (ServiceRouteEntryPublishToInstanceArrayOutput) ToServiceRouteEntryPublishToInstanceArrayOutput

func (o ServiceRouteEntryPublishToInstanceArrayOutput) ToServiceRouteEntryPublishToInstanceArrayOutput() ServiceRouteEntryPublishToInstanceArrayOutput

func (ServiceRouteEntryPublishToInstanceArrayOutput) ToServiceRouteEntryPublishToInstanceArrayOutputWithContext

func (o ServiceRouteEntryPublishToInstanceArrayOutput) ToServiceRouteEntryPublishToInstanceArrayOutputWithContext(ctx context.Context) ServiceRouteEntryPublishToInstanceArrayOutput

type ServiceRouteEntryPublishToInstanceInput

type ServiceRouteEntryPublishToInstanceInput interface {
	pulumi.Input

	ToServiceRouteEntryPublishToInstanceOutput() ServiceRouteEntryPublishToInstanceOutput
	ToServiceRouteEntryPublishToInstanceOutputWithContext(context.Context) ServiceRouteEntryPublishToInstanceOutput
}

ServiceRouteEntryPublishToInstanceInput is an input type that accepts ServiceRouteEntryPublishToInstanceArgs and ServiceRouteEntryPublishToInstanceOutput values. You can construct a concrete instance of `ServiceRouteEntryPublishToInstanceInput` via:

ServiceRouteEntryPublishToInstanceArgs{...}

type ServiceRouteEntryPublishToInstanceOutput

type ServiceRouteEntryPublishToInstanceOutput struct{ *pulumi.OutputState }

func (ServiceRouteEntryPublishToInstanceOutput) ElementType

func (ServiceRouteEntryPublishToInstanceOutput) InstanceId

Cloud service access routes need to publish the network instance ID.

func (ServiceRouteEntryPublishToInstanceOutput) InstanceRegionId

The region where the cloud service access route needs to be published.

func (ServiceRouteEntryPublishToInstanceOutput) InstanceType

The network instance type that needs to be published for cloud service access routes. The values are as follows: `VPC`, `DCGW`.

func (ServiceRouteEntryPublishToInstanceOutput) ToServiceRouteEntryPublishToInstanceOutput

func (o ServiceRouteEntryPublishToInstanceOutput) ToServiceRouteEntryPublishToInstanceOutput() ServiceRouteEntryPublishToInstanceOutput

func (ServiceRouteEntryPublishToInstanceOutput) ToServiceRouteEntryPublishToInstanceOutputWithContext

func (o ServiceRouteEntryPublishToInstanceOutput) ToServiceRouteEntryPublishToInstanceOutputWithContext(ctx context.Context) ServiceRouteEntryPublishToInstanceOutput

type ServiceRouteEntryState

type ServiceRouteEntryState struct {
	// The cen ID of the cen service route entry.
	CenId pulumi.StringPtrInput
	// The create time of the cen service route entry.
	CreationTime pulumi.StringPtrInput
	// The description of the cen service route entry.
	Description pulumi.StringPtrInput
	// The destination cidr block of the cen service route entry.
	DestinationCidrBlock pulumi.StringPtrInput
	// Publishing scope of cloud service access routes. Valid values are `LocalDCGW`(default), `Custom`.
	PublishMode pulumi.StringPtrInput
	// The publish instances. A maximum of 100 can be uploaded in one request. This field needs to be filled in when the `publishMode` is `Custom`.
	PublishToInstances ServiceRouteEntryPublishToInstanceArrayInput
	// The service region id of the cen service route entry.
	ServiceRegionId pulumi.StringPtrInput
	// The service VPC id of the cen service route entry.
	ServiceVpcId pulumi.StringPtrInput
	// The status of the cen service route entry.
	Status pulumi.StringPtrInput
}

func (ServiceRouteEntryState) ElementType

func (ServiceRouteEntryState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL