heroku logo
Heroku v1.0.2, Dec 5 22

heroku.space.VpnConnection

Create VpnConnection Resource

new VpnConnection(name: string, args: VpnConnectionArgs, opts?: CustomResourceOptions);
@overload
def VpnConnection(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  name: Optional[str] = None,
                  public_ip: Optional[str] = None,
                  routable_cidrs: Optional[Sequence[str]] = None,
                  space: Optional[str] = None,
                  tunnels: Optional[Sequence[VpnConnectionTunnelArgs]] = None)
@overload
def VpnConnection(resource_name: str,
                  args: VpnConnectionArgs,
                  opts: Optional[ResourceOptions] = None)
func NewVpnConnection(ctx *Context, name string, args VpnConnectionArgs, opts ...ResourceOption) (*VpnConnection, error)
public VpnConnection(string name, VpnConnectionArgs args, CustomResourceOptions? opts = null)
public VpnConnection(String name, VpnConnectionArgs args)
public VpnConnection(String name, VpnConnectionArgs args, CustomResourceOptions options)
type: heroku:space:VpnConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args VpnConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args VpnConnectionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args VpnConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args VpnConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args VpnConnectionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

VpnConnection Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The VpnConnection resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the VpnConnection resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

IkeVersion int
SpaceCidrBlock string
Id string

The provider-assigned unique ID for this managed resource.

IkeVersion int
SpaceCidrBlock string
id String

The provider-assigned unique ID for this managed resource.

ikeVersion Integer
spaceCidrBlock String
id string

The provider-assigned unique ID for this managed resource.

ikeVersion number
spaceCidrBlock string
id str

The provider-assigned unique ID for this managed resource.

ike_version int
space_cidr_block str
id String

The provider-assigned unique ID for this managed resource.

ikeVersion Number
spaceCidrBlock String

Look up Existing VpnConnection Resource

Get an existing VpnConnection 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?: VpnConnectionState, opts?: CustomResourceOptions): VpnConnection
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ike_version: Optional[int] = None,
        name: Optional[str] = None,
        public_ip: Optional[str] = None,
        routable_cidrs: Optional[Sequence[str]] = None,
        space: Optional[str] = None,
        space_cidr_block: Optional[str] = None,
        tunnels: Optional[Sequence[VpnConnectionTunnelArgs]] = None) -> VpnConnection
func GetVpnConnection(ctx *Context, name string, id IDInput, state *VpnConnectionState, opts ...ResourceOption) (*VpnConnection, error)
public static VpnConnection Get(string name, Input<string> id, VpnConnectionState? state, CustomResourceOptions? opts = null)
public static VpnConnection get(String name, Output<String> id, VpnConnectionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
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:

Supporting Types

VpnConnectionTunnel

Ip string
PreSharedKey string
Ip string
PreSharedKey string
ip String
preSharedKey String
ip string
preSharedKey string
ip String
preSharedKey String

Package Details

Repository
heroku pulumiverse/pulumi-heroku
License
Apache-2.0
Notes

This Pulumi package is based on the heroku Terraform Provider.