Show / Hide Table of Contents

Class RouteEntry

Inheritance
System.Object
Resource
CustomResource
RouteEntry
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Vpc
Assembly: Pulumi.AliCloud.dll
Syntax
public class RouteEntry : CustomResource

Constructors

View Source

RouteEntry(String, RouteEntryArgs, CustomResourceOptions)

Create a RouteEntry resource with the given unique name, arguments, and options.

Declaration
public RouteEntry(string name, RouteEntryArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

RouteEntryArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

DestinationCidrblock

The RouteEntry's target network segment.

Declaration
public Output<string> DestinationCidrblock { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the route entry. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

NexthopId

The route entry's next hop. ECS instance ID or VPC router interface ID.

Declaration
public Output<string> NexthopId { get; }
Property Value
Type Description
Output<System.String>
View Source

NexthopType

The next hop type. Available values:

  • Instance (Default): Route the traffic destined for the destination CIDR block to an ECS instance in the VPC.
  • RouterInterface: Route the traffic destined for the destination CIDR block to a router interface.
  • VpnGateway: Route the traffic destined for the destination CIDR block to a VPN Gateway.
  • HaVip: Route the traffic destined for the destination CIDR block to an HAVIP.
  • NetworkInterface: Route the traffic destined for the destination CIDR block to an NetworkInterface.
  • NatGateway: Route the traffic destined for the destination CIDR block to an Nat Gateway.
Declaration
public Output<string> NexthopType { get; }
Property Value
Type Description
Output<System.String>
View Source

RouterId

This argument has beeb deprecated. Please use other arguments to launch a custom route entry.

Declaration
public Output<string> RouterId { get; }
Property Value
Type Description
Output<System.String>
View Source

RouteTableId

The ID of the route table.

Declaration
public Output<string> RouteTableId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, RouteEntryState, CustomResourceOptions)

Get an existing RouteEntry resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static RouteEntry Get(string name, Input<string> id, RouteEntryState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

RouteEntryState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
RouteEntry
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.