route

package
v0.0.0-...-9ab2e28 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	pulumi.CustomResourceState

	// The RouteEntry's target network segment.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// The route entry's next hub. CVM instance ID or VPC router interface ID.
	NextHub pulumi.StringOutput `pulumi:"nextHub"`
	// The next hop type. Valid values:
	// `public_gateway`,`vpn_gateway`,`sslvpn_gateway`,`dc_gateway`,`peering_connection`,`nat_gateway`,`havip`,`local_gateway`
	// and `instance`. `instance` points to CVM Instance.
	NextType pulumi.StringOutput `pulumi:"nextType"`
	// The ID of the route table.
	RouteTableId pulumi.StringOutput `pulumi:"routeTableId"`
	// The VPC ID.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

func GetEntry

func GetEntry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EntryState, opts ...pulumi.ResourceOption) (*Entry, error)

GetEntry gets an existing Entry 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 NewEntry

func NewEntry(ctx *pulumi.Context,
	name string, args *EntryArgs, opts ...pulumi.ResourceOption) (*Entry, error)

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

func (*Entry) ElementType

func (*Entry) ElementType() reflect.Type

func (*Entry) ToEntryOutput

func (i *Entry) ToEntryOutput() EntryOutput

func (*Entry) ToEntryOutputWithContext

func (i *Entry) ToEntryOutputWithContext(ctx context.Context) EntryOutput

type EntryArgs

type EntryArgs struct {
	// The RouteEntry's target network segment.
	CidrBlock pulumi.StringInput
	// The route entry's next hub. CVM instance ID or VPC router interface ID.
	NextHub pulumi.StringInput
	// The next hop type. Valid values:
	// `public_gateway`,`vpn_gateway`,`sslvpn_gateway`,`dc_gateway`,`peering_connection`,`nat_gateway`,`havip`,`local_gateway`
	// and `instance`. `instance` points to CVM Instance.
	NextType pulumi.StringInput
	// The ID of the route table.
	RouteTableId pulumi.StringInput
	// The VPC ID.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a Entry resource.

func (EntryArgs) ElementType

func (EntryArgs) ElementType() reflect.Type

type EntryArray

type EntryArray []EntryInput

func (EntryArray) ElementType

func (EntryArray) ElementType() reflect.Type

func (EntryArray) ToEntryArrayOutput

func (i EntryArray) ToEntryArrayOutput() EntryArrayOutput

func (EntryArray) ToEntryArrayOutputWithContext

func (i EntryArray) ToEntryArrayOutputWithContext(ctx context.Context) EntryArrayOutput

type EntryArrayInput

type EntryArrayInput interface {
	pulumi.Input

	ToEntryArrayOutput() EntryArrayOutput
	ToEntryArrayOutputWithContext(context.Context) EntryArrayOutput
}

EntryArrayInput is an input type that accepts EntryArray and EntryArrayOutput values. You can construct a concrete instance of `EntryArrayInput` via:

EntryArray{ EntryArgs{...} }

type EntryArrayOutput

type EntryArrayOutput struct{ *pulumi.OutputState }

func (EntryArrayOutput) ElementType

func (EntryArrayOutput) ElementType() reflect.Type

func (EntryArrayOutput) Index

func (EntryArrayOutput) ToEntryArrayOutput

func (o EntryArrayOutput) ToEntryArrayOutput() EntryArrayOutput

func (EntryArrayOutput) ToEntryArrayOutputWithContext

func (o EntryArrayOutput) ToEntryArrayOutputWithContext(ctx context.Context) EntryArrayOutput

type EntryInput

type EntryInput interface {
	pulumi.Input

	ToEntryOutput() EntryOutput
	ToEntryOutputWithContext(ctx context.Context) EntryOutput
}

type EntryMap

type EntryMap map[string]EntryInput

func (EntryMap) ElementType

func (EntryMap) ElementType() reflect.Type

func (EntryMap) ToEntryMapOutput

func (i EntryMap) ToEntryMapOutput() EntryMapOutput

func (EntryMap) ToEntryMapOutputWithContext

func (i EntryMap) ToEntryMapOutputWithContext(ctx context.Context) EntryMapOutput

type EntryMapInput

type EntryMapInput interface {
	pulumi.Input

	ToEntryMapOutput() EntryMapOutput
	ToEntryMapOutputWithContext(context.Context) EntryMapOutput
}

EntryMapInput is an input type that accepts EntryMap and EntryMapOutput values. You can construct a concrete instance of `EntryMapInput` via:

EntryMap{ "key": EntryArgs{...} }

type EntryMapOutput

type EntryMapOutput struct{ *pulumi.OutputState }

func (EntryMapOutput) ElementType

func (EntryMapOutput) ElementType() reflect.Type

func (EntryMapOutput) MapIndex

func (EntryMapOutput) ToEntryMapOutput

func (o EntryMapOutput) ToEntryMapOutput() EntryMapOutput

func (EntryMapOutput) ToEntryMapOutputWithContext

func (o EntryMapOutput) ToEntryMapOutputWithContext(ctx context.Context) EntryMapOutput

type EntryOutput

type EntryOutput struct{ *pulumi.OutputState }

func (EntryOutput) CidrBlock

func (o EntryOutput) CidrBlock() pulumi.StringOutput

The RouteEntry's target network segment.

func (EntryOutput) ElementType

func (EntryOutput) ElementType() reflect.Type

func (EntryOutput) NextHub

func (o EntryOutput) NextHub() pulumi.StringOutput

The route entry's next hub. CVM instance ID or VPC router interface ID.

func (EntryOutput) NextType

func (o EntryOutput) NextType() pulumi.StringOutput

The next hop type. Valid values: `public_gateway`,`vpn_gateway`,`sslvpn_gateway`,`dc_gateway`,`peering_connection`,`nat_gateway`,`havip`,`local_gateway` and `instance`. `instance` points to CVM Instance.

func (EntryOutput) RouteTableId

func (o EntryOutput) RouteTableId() pulumi.StringOutput

The ID of the route table.

func (EntryOutput) ToEntryOutput

func (o EntryOutput) ToEntryOutput() EntryOutput

func (EntryOutput) ToEntryOutputWithContext

func (o EntryOutput) ToEntryOutputWithContext(ctx context.Context) EntryOutput

func (EntryOutput) VpcId

func (o EntryOutput) VpcId() pulumi.StringOutput

The VPC ID.

type EntryState

type EntryState struct {
	// The RouteEntry's target network segment.
	CidrBlock pulumi.StringPtrInput
	// The route entry's next hub. CVM instance ID or VPC router interface ID.
	NextHub pulumi.StringPtrInput
	// The next hop type. Valid values:
	// `public_gateway`,`vpn_gateway`,`sslvpn_gateway`,`dc_gateway`,`peering_connection`,`nat_gateway`,`havip`,`local_gateway`
	// and `instance`. `instance` points to CVM Instance.
	NextType pulumi.StringPtrInput
	// The ID of the route table.
	RouteTableId pulumi.StringPtrInput
	// The VPC ID.
	VpcId pulumi.StringPtrInput
}

func (EntryState) ElementType

func (EntryState) ElementType() reflect.Type

type TableArgs

type TableArgs struct {
	Name         *string `pulumi:"name"`
	RouteTableId string  `pulumi:"routeTableId"`
}

A collection of arguments for invoking Table.

type TableOutputArgs

type TableOutputArgs struct {
	Name         pulumi.StringPtrInput `pulumi:"name"`
	RouteTableId pulumi.StringInput    `pulumi:"routeTableId"`
}

A collection of arguments for invoking Table.

func (TableOutputArgs) ElementType

func (TableOutputArgs) ElementType() reflect.Type

type TableResult

type TableResult struct {
	CreateTime string `pulumi:"createTime"`
	// The provider-assigned unique ID for this managed resource.
	Id           string       `pulumi:"id"`
	Name         *string      `pulumi:"name"`
	RouteTableId string       `pulumi:"routeTableId"`
	Routes       []TableRoute `pulumi:"routes"`
	SubnetNum    int          `pulumi:"subnetNum"`
	VpcId        string       `pulumi:"vpcId"`
}

A collection of values returned by Table.

func Table

func Table(ctx *pulumi.Context, args *TableArgs, opts ...pulumi.InvokeOption) (*TableResult, error)

type TableResultOutput

type TableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Table.

func TableOutput

func TableOutput(ctx *pulumi.Context, args TableOutputArgs, opts ...pulumi.InvokeOption) TableResultOutput

func (TableResultOutput) CreateTime

func (o TableResultOutput) CreateTime() pulumi.StringOutput

func (TableResultOutput) ElementType

func (TableResultOutput) ElementType() reflect.Type

func (TableResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (TableResultOutput) Name

func (TableResultOutput) RouteTableId

func (o TableResultOutput) RouteTableId() pulumi.StringOutput

func (TableResultOutput) Routes

func (TableResultOutput) SubnetNum

func (o TableResultOutput) SubnetNum() pulumi.IntOutput

func (TableResultOutput) ToTableResultOutput

func (o TableResultOutput) ToTableResultOutput() TableResultOutput

func (TableResultOutput) ToTableResultOutputWithContext

func (o TableResultOutput) ToTableResultOutputWithContext(ctx context.Context) TableResultOutput

func (TableResultOutput) VpcId

type TableRoute

type TableRoute struct {
	CidrBlock   string `pulumi:"cidrBlock"`
	Description string `pulumi:"description"`
	NextHub     string `pulumi:"nextHub"`
	NextType    string `pulumi:"nextType"`
}

type TableRouteArgs

type TableRouteArgs struct {
	CidrBlock   pulumi.StringInput `pulumi:"cidrBlock"`
	Description pulumi.StringInput `pulumi:"description"`
	NextHub     pulumi.StringInput `pulumi:"nextHub"`
	NextType    pulumi.StringInput `pulumi:"nextType"`
}

func (TableRouteArgs) ElementType

func (TableRouteArgs) ElementType() reflect.Type

func (TableRouteArgs) ToTableRouteOutput

func (i TableRouteArgs) ToTableRouteOutput() TableRouteOutput

func (TableRouteArgs) ToTableRouteOutputWithContext

func (i TableRouteArgs) ToTableRouteOutputWithContext(ctx context.Context) TableRouteOutput

type TableRouteArray

type TableRouteArray []TableRouteInput

func (TableRouteArray) ElementType

func (TableRouteArray) ElementType() reflect.Type

func (TableRouteArray) ToTableRouteArrayOutput

func (i TableRouteArray) ToTableRouteArrayOutput() TableRouteArrayOutput

func (TableRouteArray) ToTableRouteArrayOutputWithContext

func (i TableRouteArray) ToTableRouteArrayOutputWithContext(ctx context.Context) TableRouteArrayOutput

type TableRouteArrayInput

type TableRouteArrayInput interface {
	pulumi.Input

	ToTableRouteArrayOutput() TableRouteArrayOutput
	ToTableRouteArrayOutputWithContext(context.Context) TableRouteArrayOutput
}

TableRouteArrayInput is an input type that accepts TableRouteArray and TableRouteArrayOutput values. You can construct a concrete instance of `TableRouteArrayInput` via:

TableRouteArray{ TableRouteArgs{...} }

type TableRouteArrayOutput

type TableRouteArrayOutput struct{ *pulumi.OutputState }

func (TableRouteArrayOutput) ElementType

func (TableRouteArrayOutput) ElementType() reflect.Type

func (TableRouteArrayOutput) Index

func (TableRouteArrayOutput) ToTableRouteArrayOutput

func (o TableRouteArrayOutput) ToTableRouteArrayOutput() TableRouteArrayOutput

func (TableRouteArrayOutput) ToTableRouteArrayOutputWithContext

func (o TableRouteArrayOutput) ToTableRouteArrayOutputWithContext(ctx context.Context) TableRouteArrayOutput

type TableRouteInput

type TableRouteInput interface {
	pulumi.Input

	ToTableRouteOutput() TableRouteOutput
	ToTableRouteOutputWithContext(context.Context) TableRouteOutput
}

TableRouteInput is an input type that accepts TableRouteArgs and TableRouteOutput values. You can construct a concrete instance of `TableRouteInput` via:

TableRouteArgs{...}

type TableRouteOutput

type TableRouteOutput struct{ *pulumi.OutputState }

func (TableRouteOutput) CidrBlock

func (o TableRouteOutput) CidrBlock() pulumi.StringOutput

func (TableRouteOutput) Description

func (o TableRouteOutput) Description() pulumi.StringOutput

func (TableRouteOutput) ElementType

func (TableRouteOutput) ElementType() reflect.Type

func (TableRouteOutput) NextHub

func (o TableRouteOutput) NextHub() pulumi.StringOutput

func (TableRouteOutput) NextType

func (o TableRouteOutput) NextType() pulumi.StringOutput

func (TableRouteOutput) ToTableRouteOutput

func (o TableRouteOutput) ToTableRouteOutput() TableRouteOutput

func (TableRouteOutput) ToTableRouteOutputWithContext

func (o TableRouteOutput) ToTableRouteOutputWithContext(ctx context.Context) TableRouteOutput

Jump to

Keyboard shortcuts

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