route

package
v0.0.0-...-9153d0a Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 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 Table

type Table struct {
	pulumi.CustomResourceState

	// Creation time of the routing table.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Indicates whether it is the default routing table.
	IsDefault pulumi.BoolOutput `pulumi:"isDefault"`
	// The name of routing table.
	Name pulumi.StringOutput `pulumi:"name"`
	// ID list of the routing entries.
	RouteEntryIds pulumi.StringArrayOutput `pulumi:"routeEntryIds"`
	// ID list of the subnets associated with this route table.
	SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"`
	// The tags of routing table.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// ID of VPC to which the route table should be associated.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

func GetTable

func GetTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*Table, error)

GetTable gets an existing Table 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 NewTable

func NewTable(ctx *pulumi.Context,
	name string, args *TableArgs, opts ...pulumi.ResourceOption) (*Table, error)

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

func (*Table) ElementType

func (*Table) ElementType() reflect.Type

func (*Table) ToTableOutput

func (i *Table) ToTableOutput() TableOutput

func (*Table) ToTableOutputWithContext

func (i *Table) ToTableOutputWithContext(ctx context.Context) TableOutput

type TableArgs

type TableArgs struct {
	// The name of routing table.
	Name pulumi.StringPtrInput
	// The tags of routing table.
	Tags pulumi.MapInput
	// ID of VPC to which the route table should be associated.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a Table resource.

func (TableArgs) ElementType

func (TableArgs) ElementType() reflect.Type

type TableArray

type TableArray []TableInput

func (TableArray) ElementType

func (TableArray) ElementType() reflect.Type

func (TableArray) ToTableArrayOutput

func (i TableArray) ToTableArrayOutput() TableArrayOutput

func (TableArray) ToTableArrayOutputWithContext

func (i TableArray) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput

type TableArrayInput

type TableArrayInput interface {
	pulumi.Input

	ToTableArrayOutput() TableArrayOutput
	ToTableArrayOutputWithContext(context.Context) TableArrayOutput
}

TableArrayInput is an input type that accepts TableArray and TableArrayOutput values. You can construct a concrete instance of `TableArrayInput` via:

TableArray{ TableArgs{...} }

type TableArrayOutput

type TableArrayOutput struct{ *pulumi.OutputState }

func (TableArrayOutput) ElementType

func (TableArrayOutput) ElementType() reflect.Type

func (TableArrayOutput) Index

func (TableArrayOutput) ToTableArrayOutput

func (o TableArrayOutput) ToTableArrayOutput() TableArrayOutput

func (TableArrayOutput) ToTableArrayOutputWithContext

func (o TableArrayOutput) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput

type TableEntry

type TableEntry struct {
	pulumi.CustomResourceState

	// Description of the routing table entry.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Destination address block.
	DestinationCidrBlock pulumi.StringOutput `pulumi:"destinationCidrBlock"`
	// Whether the entry is disabled, default is `false`.
	Disabled pulumi.BoolPtrOutput `pulumi:"disabled"`
	// ID of next-hop gateway. Note: when `next_type` is EIP, GatewayId should be `0`.
	NextHub pulumi.StringOutput `pulumi:"nextHub"`
	// Type of next-hop. Valid values: `CVM`, `VPN`, `DIRECTCONNECT`, `PEERCONNECTION`, `HAVIP`, `NAT`, `NORMAL_CVM`, `EIP` and
	// `LOCAL_GATEWAY`.
	NextType pulumi.StringOutput `pulumi:"nextType"`
	// ID of routing table to which this entry belongs.
	RouteTableId pulumi.StringOutput `pulumi:"routeTableId"`
}

func GetTableEntry

func GetTableEntry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TableEntryState, opts ...pulumi.ResourceOption) (*TableEntry, error)

GetTableEntry gets an existing TableEntry 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 NewTableEntry

func NewTableEntry(ctx *pulumi.Context,
	name string, args *TableEntryArgs, opts ...pulumi.ResourceOption) (*TableEntry, error)

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

func (*TableEntry) ElementType

func (*TableEntry) ElementType() reflect.Type

func (*TableEntry) ToTableEntryOutput

func (i *TableEntry) ToTableEntryOutput() TableEntryOutput

func (*TableEntry) ToTableEntryOutputWithContext

func (i *TableEntry) ToTableEntryOutputWithContext(ctx context.Context) TableEntryOutput

type TableEntryArgs

type TableEntryArgs struct {
	// Description of the routing table entry.
	Description pulumi.StringPtrInput
	// Destination address block.
	DestinationCidrBlock pulumi.StringInput
	// Whether the entry is disabled, default is `false`.
	Disabled pulumi.BoolPtrInput
	// ID of next-hop gateway. Note: when `next_type` is EIP, GatewayId should be `0`.
	NextHub pulumi.StringInput
	// Type of next-hop. Valid values: `CVM`, `VPN`, `DIRECTCONNECT`, `PEERCONNECTION`, `HAVIP`, `NAT`, `NORMAL_CVM`, `EIP` and
	// `LOCAL_GATEWAY`.
	NextType pulumi.StringInput
	// ID of routing table to which this entry belongs.
	RouteTableId pulumi.StringInput
}

The set of arguments for constructing a TableEntry resource.

func (TableEntryArgs) ElementType

func (TableEntryArgs) ElementType() reflect.Type

type TableEntryArray

type TableEntryArray []TableEntryInput

func (TableEntryArray) ElementType

func (TableEntryArray) ElementType() reflect.Type

func (TableEntryArray) ToTableEntryArrayOutput

func (i TableEntryArray) ToTableEntryArrayOutput() TableEntryArrayOutput

func (TableEntryArray) ToTableEntryArrayOutputWithContext

func (i TableEntryArray) ToTableEntryArrayOutputWithContext(ctx context.Context) TableEntryArrayOutput

type TableEntryArrayInput

type TableEntryArrayInput interface {
	pulumi.Input

	ToTableEntryArrayOutput() TableEntryArrayOutput
	ToTableEntryArrayOutputWithContext(context.Context) TableEntryArrayOutput
}

TableEntryArrayInput is an input type that accepts TableEntryArray and TableEntryArrayOutput values. You can construct a concrete instance of `TableEntryArrayInput` via:

TableEntryArray{ TableEntryArgs{...} }

type TableEntryArrayOutput

type TableEntryArrayOutput struct{ *pulumi.OutputState }

func (TableEntryArrayOutput) ElementType

func (TableEntryArrayOutput) ElementType() reflect.Type

func (TableEntryArrayOutput) Index

func (TableEntryArrayOutput) ToTableEntryArrayOutput

func (o TableEntryArrayOutput) ToTableEntryArrayOutput() TableEntryArrayOutput

func (TableEntryArrayOutput) ToTableEntryArrayOutputWithContext

func (o TableEntryArrayOutput) ToTableEntryArrayOutputWithContext(ctx context.Context) TableEntryArrayOutput

type TableEntryInput

type TableEntryInput interface {
	pulumi.Input

	ToTableEntryOutput() TableEntryOutput
	ToTableEntryOutputWithContext(ctx context.Context) TableEntryOutput
}

type TableEntryMap

type TableEntryMap map[string]TableEntryInput

func (TableEntryMap) ElementType

func (TableEntryMap) ElementType() reflect.Type

func (TableEntryMap) ToTableEntryMapOutput

func (i TableEntryMap) ToTableEntryMapOutput() TableEntryMapOutput

func (TableEntryMap) ToTableEntryMapOutputWithContext

func (i TableEntryMap) ToTableEntryMapOutputWithContext(ctx context.Context) TableEntryMapOutput

type TableEntryMapInput

type TableEntryMapInput interface {
	pulumi.Input

	ToTableEntryMapOutput() TableEntryMapOutput
	ToTableEntryMapOutputWithContext(context.Context) TableEntryMapOutput
}

TableEntryMapInput is an input type that accepts TableEntryMap and TableEntryMapOutput values. You can construct a concrete instance of `TableEntryMapInput` via:

TableEntryMap{ "key": TableEntryArgs{...} }

type TableEntryMapOutput

type TableEntryMapOutput struct{ *pulumi.OutputState }

func (TableEntryMapOutput) ElementType

func (TableEntryMapOutput) ElementType() reflect.Type

func (TableEntryMapOutput) MapIndex

func (TableEntryMapOutput) ToTableEntryMapOutput

func (o TableEntryMapOutput) ToTableEntryMapOutput() TableEntryMapOutput

func (TableEntryMapOutput) ToTableEntryMapOutputWithContext

func (o TableEntryMapOutput) ToTableEntryMapOutputWithContext(ctx context.Context) TableEntryMapOutput

type TableEntryOutput

type TableEntryOutput struct{ *pulumi.OutputState }

func (TableEntryOutput) Description

func (o TableEntryOutput) Description() pulumi.StringPtrOutput

Description of the routing table entry.

func (TableEntryOutput) DestinationCidrBlock

func (o TableEntryOutput) DestinationCidrBlock() pulumi.StringOutput

Destination address block.

func (TableEntryOutput) Disabled

func (o TableEntryOutput) Disabled() pulumi.BoolPtrOutput

Whether the entry is disabled, default is `false`.

func (TableEntryOutput) ElementType

func (TableEntryOutput) ElementType() reflect.Type

func (TableEntryOutput) NextHub

func (o TableEntryOutput) NextHub() pulumi.StringOutput

ID of next-hop gateway. Note: when `next_type` is EIP, GatewayId should be `0`.

func (TableEntryOutput) NextType

func (o TableEntryOutput) NextType() pulumi.StringOutput

Type of next-hop. Valid values: `CVM`, `VPN`, `DIRECTCONNECT`, `PEERCONNECTION`, `HAVIP`, `NAT`, `NORMAL_CVM`, `EIP` and `LOCAL_GATEWAY`.

func (TableEntryOutput) RouteTableId

func (o TableEntryOutput) RouteTableId() pulumi.StringOutput

ID of routing table to which this entry belongs.

func (TableEntryOutput) ToTableEntryOutput

func (o TableEntryOutput) ToTableEntryOutput() TableEntryOutput

func (TableEntryOutput) ToTableEntryOutputWithContext

func (o TableEntryOutput) ToTableEntryOutputWithContext(ctx context.Context) TableEntryOutput

type TableEntryState

type TableEntryState struct {
	// Description of the routing table entry.
	Description pulumi.StringPtrInput
	// Destination address block.
	DestinationCidrBlock pulumi.StringPtrInput
	// Whether the entry is disabled, default is `false`.
	Disabled pulumi.BoolPtrInput
	// ID of next-hop gateway. Note: when `next_type` is EIP, GatewayId should be `0`.
	NextHub pulumi.StringPtrInput
	// Type of next-hop. Valid values: `CVM`, `VPN`, `DIRECTCONNECT`, `PEERCONNECTION`, `HAVIP`, `NAT`, `NORMAL_CVM`, `EIP` and
	// `LOCAL_GATEWAY`.
	NextType pulumi.StringPtrInput
	// ID of routing table to which this entry belongs.
	RouteTableId pulumi.StringPtrInput
}

func (TableEntryState) ElementType

func (TableEntryState) ElementType() reflect.Type

type TableInput

type TableInput interface {
	pulumi.Input

	ToTableOutput() TableOutput
	ToTableOutputWithContext(ctx context.Context) TableOutput
}

type TableMap

type TableMap map[string]TableInput

func (TableMap) ElementType

func (TableMap) ElementType() reflect.Type

func (TableMap) ToTableMapOutput

func (i TableMap) ToTableMapOutput() TableMapOutput

func (TableMap) ToTableMapOutputWithContext

func (i TableMap) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput

type TableMapInput

type TableMapInput interface {
	pulumi.Input

	ToTableMapOutput() TableMapOutput
	ToTableMapOutputWithContext(context.Context) TableMapOutput
}

TableMapInput is an input type that accepts TableMap and TableMapOutput values. You can construct a concrete instance of `TableMapInput` via:

TableMap{ "key": TableArgs{...} }

type TableMapOutput

type TableMapOutput struct{ *pulumi.OutputState }

func (TableMapOutput) ElementType

func (TableMapOutput) ElementType() reflect.Type

func (TableMapOutput) MapIndex

func (TableMapOutput) ToTableMapOutput

func (o TableMapOutput) ToTableMapOutput() TableMapOutput

func (TableMapOutput) ToTableMapOutputWithContext

func (o TableMapOutput) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput

type TableOutput

type TableOutput struct{ *pulumi.OutputState }

func (TableOutput) CreateTime

func (o TableOutput) CreateTime() pulumi.StringOutput

Creation time of the routing table.

func (TableOutput) ElementType

func (TableOutput) ElementType() reflect.Type

func (TableOutput) IsDefault

func (o TableOutput) IsDefault() pulumi.BoolOutput

Indicates whether it is the default routing table.

func (TableOutput) Name

func (o TableOutput) Name() pulumi.StringOutput

The name of routing table.

func (TableOutput) RouteEntryIds

func (o TableOutput) RouteEntryIds() pulumi.StringArrayOutput

ID list of the routing entries.

func (TableOutput) SubnetIds

func (o TableOutput) SubnetIds() pulumi.StringArrayOutput

ID list of the subnets associated with this route table.

func (TableOutput) Tags

func (o TableOutput) Tags() pulumi.MapOutput

The tags of routing table.

func (TableOutput) ToTableOutput

func (o TableOutput) ToTableOutput() TableOutput

func (TableOutput) ToTableOutputWithContext

func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput

func (TableOutput) VpcId

func (o TableOutput) VpcId() pulumi.StringOutput

ID of VPC to which the route table should be associated.

type TableState

type TableState struct {
	// Creation time of the routing table.
	CreateTime pulumi.StringPtrInput
	// Indicates whether it is the default routing table.
	IsDefault pulumi.BoolPtrInput
	// The name of routing table.
	Name pulumi.StringPtrInput
	// ID list of the routing entries.
	RouteEntryIds pulumi.StringArrayInput
	// ID list of the subnets associated with this route table.
	SubnetIds pulumi.StringArrayInput
	// The tags of routing table.
	Tags pulumi.MapInput
	// ID of VPC to which the route table should be associated.
	VpcId pulumi.StringPtrInput
}

func (TableState) ElementType

func (TableState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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