RouterInterface
Manages a Cloud Router interface. For more information see the official documentation and API.
Create a RouterInterface Resource
new RouterInterface(name: string, args: RouterInterfaceArgs, opts?: CustomResourceOptions);def RouterInterface(resource_name, opts=None, interconnect_attachment=None, ip_range=None, name=None, project=None, region=None, router=None, vpn_tunnel=None, __props__=None);func NewRouterInterface(ctx *Context, name string, args RouterInterfaceArgs, opts ...ResourceOption) (*RouterInterface, error)public RouterInterface(string name, RouterInterfaceArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
RouterInterface Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The RouterInterface resource accepts the following input properties:
- Router string
The name of the router this interface will be attached to. Changing this forces a new interface to be created.
- Interconnect
Attachment string The name or resource link to the VLAN interconnect for this interface. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.- Ip
Range string IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. Changing this forces a new interface to be created.
- Name string
A unique name for the interface, required by GCE. Changing this forces a new interface to be created.
- Project string
The ID of the project in which this interface’s router belongs. If it is not provided, the provider project is used. Changing this forces a new interface to be created.
- Region string
The region this interface’s router sits in. If not specified, the project region will be used. Changing this forces a new interface to be created.
- Vpn
Tunnel string The name or resource link to the VPN tunnel this interface will be linked to. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.
- Router string
The name of the router this interface will be attached to. Changing this forces a new interface to be created.
- Interconnect
Attachment string The name or resource link to the VLAN interconnect for this interface. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.- Ip
Range string IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. Changing this forces a new interface to be created.
- Name string
A unique name for the interface, required by GCE. Changing this forces a new interface to be created.
- Project string
The ID of the project in which this interface’s router belongs. If it is not provided, the provider project is used. Changing this forces a new interface to be created.
- Region string
The region this interface’s router sits in. If not specified, the project region will be used. Changing this forces a new interface to be created.
- Vpn
Tunnel string The name or resource link to the VPN tunnel this interface will be linked to. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.
- router string
The name of the router this interface will be attached to. Changing this forces a new interface to be created.
- interconnect
Attachment string The name or resource link to the VLAN interconnect for this interface. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.- ip
Range string IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. Changing this forces a new interface to be created.
- name string
A unique name for the interface, required by GCE. Changing this forces a new interface to be created.
- project string
The ID of the project in which this interface’s router belongs. If it is not provided, the provider project is used. Changing this forces a new interface to be created.
- region string
The region this interface’s router sits in. If not specified, the project region will be used. Changing this forces a new interface to be created.
- vpn
Tunnel string The name or resource link to the VPN tunnel this interface will be linked to. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.
- router str
The name of the router this interface will be attached to. Changing this forces a new interface to be created.
- interconnect_
attachment str The name or resource link to the VLAN interconnect for this interface. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.- ip_
range str IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. Changing this forces a new interface to be created.
- name str
A unique name for the interface, required by GCE. Changing this forces a new interface to be created.
- project str
The ID of the project in which this interface’s router belongs. If it is not provided, the provider project is used. Changing this forces a new interface to be created.
- region str
The region this interface’s router sits in. If not specified, the project region will be used. Changing this forces a new interface to be created.
- vpn_
tunnel str The name or resource link to the VPN tunnel this interface will be linked to. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.
Outputs
All input properties are implicitly available as output properties. Additionally, the RouterInterface resource produces the following output properties:
Look up an Existing RouterInterface Resource
Get an existing RouterInterface resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RouterInterfaceState, opts?: CustomResourceOptions): RouterInterfacestatic get(resource_name, id, opts=None, interconnect_attachment=None, ip_range=None, name=None, project=None, region=None, router=None, vpn_tunnel=None, __props__=None);func GetRouterInterface(ctx *Context, name string, id IDInput, state *RouterInterfaceState, opts ...ResourceOption) (*RouterInterface, error)public static RouterInterface Get(string name, Input<string> id, RouterInterfaceState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Interconnect
Attachment string The name or resource link to the VLAN interconnect for this interface. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.- Ip
Range string IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. Changing this forces a new interface to be created.
- Name string
A unique name for the interface, required by GCE. Changing this forces a new interface to be created.
- Project string
The ID of the project in which this interface’s router belongs. If it is not provided, the provider project is used. Changing this forces a new interface to be created.
- Region string
The region this interface’s router sits in. If not specified, the project region will be used. Changing this forces a new interface to be created.
- Router string
The name of the router this interface will be attached to. Changing this forces a new interface to be created.
- Vpn
Tunnel string The name or resource link to the VPN tunnel this interface will be linked to. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.
- Interconnect
Attachment string The name or resource link to the VLAN interconnect for this interface. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.- Ip
Range string IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. Changing this forces a new interface to be created.
- Name string
A unique name for the interface, required by GCE. Changing this forces a new interface to be created.
- Project string
The ID of the project in which this interface’s router belongs. If it is not provided, the provider project is used. Changing this forces a new interface to be created.
- Region string
The region this interface’s router sits in. If not specified, the project region will be used. Changing this forces a new interface to be created.
- Router string
The name of the router this interface will be attached to. Changing this forces a new interface to be created.
- Vpn
Tunnel string The name or resource link to the VPN tunnel this interface will be linked to. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.
- interconnect
Attachment string The name or resource link to the VLAN interconnect for this interface. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.- ip
Range string IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. Changing this forces a new interface to be created.
- name string
A unique name for the interface, required by GCE. Changing this forces a new interface to be created.
- project string
The ID of the project in which this interface’s router belongs. If it is not provided, the provider project is used. Changing this forces a new interface to be created.
- region string
The region this interface’s router sits in. If not specified, the project region will be used. Changing this forces a new interface to be created.
- router string
The name of the router this interface will be attached to. Changing this forces a new interface to be created.
- vpn
Tunnel string The name or resource link to the VPN tunnel this interface will be linked to. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.
- interconnect_
attachment str The name or resource link to the VLAN interconnect for this interface. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.- ip_
range str IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. Changing this forces a new interface to be created.
- name str
A unique name for the interface, required by GCE. Changing this forces a new interface to be created.
- project str
The ID of the project in which this interface’s router belongs. If it is not provided, the provider project is used. Changing this forces a new interface to be created.
- region str
The region this interface’s router sits in. If not specified, the project region will be used. Changing this forces a new interface to be created.
- router str
The name of the router this interface will be attached to. Changing this forces a new interface to be created.
- vpn_
tunnel str The name or resource link to the VPN tunnel this interface will be linked to. Changing this forces a new interface to be created. Only one of
vpn_tunnelandinterconnect_attachmentcan be specified.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.