ibm.IsVpnServerRoute
Explore with Pulumi AI
Provides a resource for VPNServerRoute. This allows VPNServerRoute to be created, updated and deleted. For more information, about VPN Server Routes, see Managing VPN Server routes.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsVpnServerRoute("example", {
vpnServer: ibm_is_vpn_server.example.vpn_server,
destination: "172.16.0.0/16",
action: "translate",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsVpnServerRoute("example",
vpn_server=ibm_is_vpn_server["example"]["vpn_server"],
destination="172.16.0.0/16",
action="translate")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIsVpnServerRoute(ctx, "example", &ibm.IsVpnServerRouteArgs{
VpnServer: pulumi.Any(ibm_is_vpn_server.Example.Vpn_server),
Destination: pulumi.String("172.16.0.0/16"),
Action: pulumi.String("translate"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = new Ibm.IsVpnServerRoute("example", new()
{
VpnServer = ibm_is_vpn_server.Example.Vpn_server,
Destination = "172.16.0.0/16",
Action = "translate",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsVpnServerRoute;
import com.pulumi.ibm.IsVpnServerRouteArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new IsVpnServerRoute("example", IsVpnServerRouteArgs.builder()
.vpnServer(ibm_is_vpn_server.example().vpn_server())
.destination("172.16.0.0/16")
.action("translate")
.build());
}
}
resources:
example:
type: ibm:IsVpnServerRoute
properties:
vpnServer: ${ibm_is_vpn_server.example.vpn_server}
destination: 172.16.0.0/16
action: translate
Create IsVpnServerRoute Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsVpnServerRoute(name: string, args: IsVpnServerRouteArgs, opts?: CustomResourceOptions);
@overload
def IsVpnServerRoute(resource_name: str,
args: IsVpnServerRouteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsVpnServerRoute(resource_name: str,
opts: Optional[ResourceOptions] = None,
destination: Optional[str] = None,
vpn_server: Optional[str] = None,
action: Optional[str] = None,
is_vpn_server_route_id: Optional[str] = None,
name: Optional[str] = None,
timeouts: Optional[IsVpnServerRouteTimeoutsArgs] = None)
func NewIsVpnServerRoute(ctx *Context, name string, args IsVpnServerRouteArgs, opts ...ResourceOption) (*IsVpnServerRoute, error)
public IsVpnServerRoute(string name, IsVpnServerRouteArgs args, CustomResourceOptions? opts = null)
public IsVpnServerRoute(String name, IsVpnServerRouteArgs args)
public IsVpnServerRoute(String name, IsVpnServerRouteArgs args, CustomResourceOptions options)
type: ibm:IsVpnServerRoute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IsVpnServerRouteArgs
- 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 IsVpnServerRouteArgs
- 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 IsVpnServerRouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsVpnServerRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsVpnServerRouteArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var isVpnServerRouteResource = new Ibm.IsVpnServerRoute("isVpnServerRouteResource", new()
{
Destination = "string",
VpnServer = "string",
Action = "string",
IsVpnServerRouteId = "string",
Name = "string",
Timeouts = new Ibm.Inputs.IsVpnServerRouteTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ibm.NewIsVpnServerRoute(ctx, "isVpnServerRouteResource", &ibm.IsVpnServerRouteArgs{
Destination: pulumi.String("string"),
VpnServer: pulumi.String("string"),
Action: pulumi.String("string"),
IsVpnServerRouteId: pulumi.String("string"),
Name: pulumi.String("string"),
Timeouts: &ibm.IsVpnServerRouteTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var isVpnServerRouteResource = new IsVpnServerRoute("isVpnServerRouteResource", IsVpnServerRouteArgs.builder()
.destination("string")
.vpnServer("string")
.action("string")
.isVpnServerRouteId("string")
.name("string")
.timeouts(IsVpnServerRouteTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
is_vpn_server_route_resource = ibm.IsVpnServerRoute("isVpnServerRouteResource",
destination="string",
vpn_server="string",
action="string",
is_vpn_server_route_id="string",
name="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const isVpnServerRouteResource = new ibm.IsVpnServerRoute("isVpnServerRouteResource", {
destination: "string",
vpnServer: "string",
action: "string",
isVpnServerRouteId: "string",
name: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:IsVpnServerRoute
properties:
action: string
destination: string
isVpnServerRouteId: string
name: string
timeouts:
create: string
delete: string
update: string
vpnServer: string
IsVpnServerRoute Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IsVpnServerRoute resource accepts the following input properties:
- Destination string
- The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
- Vpn
Server string - The VPN server identifier.
- Action string
The action to perform with a packet matching the VPN route.
Note: Allowed values are : •
translate
: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. •deliver
: deliver the packet to the target. •drop
: drop the packet. The enumerated values for this property are expected to expand in the future.- Is
Vpn stringServer Route Id - The unique identifier of the VPNServerRoute and it has format VPNServerID/VPNServerRouteID.
- Name string
- The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words.Names must be unique within the VPN server the VPN route resides in.
- Timeouts
Is
Vpn Server Route Timeouts
- Destination string
- The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
- Vpn
Server string - The VPN server identifier.
- Action string
The action to perform with a packet matching the VPN route.
Note: Allowed values are : •
translate
: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. •deliver
: deliver the packet to the target. •drop
: drop the packet. The enumerated values for this property are expected to expand in the future.- Is
Vpn stringServer Route Id - The unique identifier of the VPNServerRoute and it has format VPNServerID/VPNServerRouteID.
- Name string
- The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words.Names must be unique within the VPN server the VPN route resides in.
- Timeouts
Is
Vpn Server Route Timeouts Args
- destination String
- The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
- vpn
Server String - The VPN server identifier.
- action String
The action to perform with a packet matching the VPN route.
Note: Allowed values are : •
translate
: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. •deliver
: deliver the packet to the target. •drop
: drop the packet. The enumerated values for this property are expected to expand in the future.- is
Vpn StringServer Route Id - The unique identifier of the VPNServerRoute and it has format VPNServerID/VPNServerRouteID.
- name String
- The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words.Names must be unique within the VPN server the VPN route resides in.
- timeouts
Is
Vpn Server Route Timeouts
- destination string
- The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
- vpn
Server string - The VPN server identifier.
- action string
The action to perform with a packet matching the VPN route.
Note: Allowed values are : •
translate
: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. •deliver
: deliver the packet to the target. •drop
: drop the packet. The enumerated values for this property are expected to expand in the future.- is
Vpn stringServer Route Id - The unique identifier of the VPNServerRoute and it has format VPNServerID/VPNServerRouteID.
- name string
- The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words.Names must be unique within the VPN server the VPN route resides in.
- timeouts
Is
Vpn Server Route Timeouts
- destination str
- The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
- vpn_
server str - The VPN server identifier.
- action str
The action to perform with a packet matching the VPN route.
Note: Allowed values are : •
translate
: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. •deliver
: deliver the packet to the target. •drop
: drop the packet. The enumerated values for this property are expected to expand in the future.- is_
vpn_ strserver_ route_ id - The unique identifier of the VPNServerRoute and it has format VPNServerID/VPNServerRouteID.
- name str
- The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words.Names must be unique within the VPN server the VPN route resides in.
- timeouts
Is
Vpn Server Route Timeouts Args
- destination String
- The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
- vpn
Server String - The VPN server identifier.
- action String
The action to perform with a packet matching the VPN route.
Note: Allowed values are : •
translate
: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. •deliver
: deliver the packet to the target. •drop
: drop the packet. The enumerated values for this property are expected to expand in the future.- is
Vpn StringServer Route Id - The unique identifier of the VPNServerRoute and it has format VPNServerID/VPNServerRouteID.
- name String
- The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words.Names must be unique within the VPN server the VPN route resides in.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the IsVpnServerRoute resource produces the following output properties:
- Created
At string - (String) The date and time that the VPN route was created.
- Health
Reasons List<IsVpn Server Route Health Reason> - (List) The reasons for the current health_state (if any).
- Health
State string - (String) The health of this resource.
- Href string
- (String) The URL for this VPN route.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Reasons List<IsVpn Server Route Lifecycle Reason> - (List) The reasons for the current lifecycle_reasons (if any).
- Lifecycle
State string - (String) The lifecycle state of the VPN route.
- Resource
Type string - (String) The resource type.
- Vpn
Route string - The identifier of the VPNServerRoute.
- Created
At string - (String) The date and time that the VPN route was created.
- Health
Reasons []IsVpn Server Route Health Reason - (List) The reasons for the current health_state (if any).
- Health
State string - (String) The health of this resource.
- Href string
- (String) The URL for this VPN route.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Reasons []IsVpn Server Route Lifecycle Reason - (List) The reasons for the current lifecycle_reasons (if any).
- Lifecycle
State string - (String) The lifecycle state of the VPN route.
- Resource
Type string - (String) The resource type.
- Vpn
Route string - The identifier of the VPNServerRoute.
- created
At String - (String) The date and time that the VPN route was created.
- health
Reasons List<IsVpn Server Route Health Reason> - (List) The reasons for the current health_state (if any).
- health
State String - (String) The health of this resource.
- href String
- (String) The URL for this VPN route.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Reasons List<IsVpn Server Route Lifecycle Reason> - (List) The reasons for the current lifecycle_reasons (if any).
- lifecycle
State String - (String) The lifecycle state of the VPN route.
- resource
Type String - (String) The resource type.
- vpn
Route String - The identifier of the VPNServerRoute.
- created
At string - (String) The date and time that the VPN route was created.
- health
Reasons IsVpn Server Route Health Reason[] - (List) The reasons for the current health_state (if any).
- health
State string - (String) The health of this resource.
- href string
- (String) The URL for this VPN route.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Reasons IsVpn Server Route Lifecycle Reason[] - (List) The reasons for the current lifecycle_reasons (if any).
- lifecycle
State string - (String) The lifecycle state of the VPN route.
- resource
Type string - (String) The resource type.
- vpn
Route string - The identifier of the VPNServerRoute.
- created_
at str - (String) The date and time that the VPN route was created.
- health_
reasons Sequence[IsVpn Server Route Health Reason] - (List) The reasons for the current health_state (if any).
- health_
state str - (String) The health of this resource.
- href str
- (String) The URL for this VPN route.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
reasons Sequence[IsVpn Server Route Lifecycle Reason] - (List) The reasons for the current lifecycle_reasons (if any).
- lifecycle_
state str - (String) The lifecycle state of the VPN route.
- resource_
type str - (String) The resource type.
- vpn_
route str - The identifier of the VPNServerRoute.
- created
At String - (String) The date and time that the VPN route was created.
- health
Reasons List<Property Map> - (List) The reasons for the current health_state (if any).
- health
State String - (String) The health of this resource.
- href String
- (String) The URL for this VPN route.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Reasons List<Property Map> - (List) The reasons for the current lifecycle_reasons (if any).
- lifecycle
State String - (String) The lifecycle state of the VPN route.
- resource
Type String - (String) The resource type.
- vpn
Route String - The identifier of the VPNServerRoute.
Look up Existing IsVpnServerRoute Resource
Get an existing IsVpnServerRoute 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?: IsVpnServerRouteState, opts?: CustomResourceOptions): IsVpnServerRoute
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
created_at: Optional[str] = None,
destination: Optional[str] = None,
health_reasons: Optional[Sequence[IsVpnServerRouteHealthReasonArgs]] = None,
health_state: Optional[str] = None,
href: Optional[str] = None,
is_vpn_server_route_id: Optional[str] = None,
lifecycle_reasons: Optional[Sequence[IsVpnServerRouteLifecycleReasonArgs]] = None,
lifecycle_state: Optional[str] = None,
name: Optional[str] = None,
resource_type: Optional[str] = None,
timeouts: Optional[IsVpnServerRouteTimeoutsArgs] = None,
vpn_route: Optional[str] = None,
vpn_server: Optional[str] = None) -> IsVpnServerRoute
func GetIsVpnServerRoute(ctx *Context, name string, id IDInput, state *IsVpnServerRouteState, opts ...ResourceOption) (*IsVpnServerRoute, error)
public static IsVpnServerRoute Get(string name, Input<string> id, IsVpnServerRouteState? state, CustomResourceOptions? opts = null)
public static IsVpnServerRoute get(String name, Output<String> id, IsVpnServerRouteState state, CustomResourceOptions options)
resources: _: type: ibm:IsVpnServerRoute get: id: ${id}
- 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.
- Action string
The action to perform with a packet matching the VPN route.
Note: Allowed values are : •
translate
: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. •deliver
: deliver the packet to the target. •drop
: drop the packet. The enumerated values for this property are expected to expand in the future.- Created
At string - (String) The date and time that the VPN route was created.
- Destination string
- The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
- Health
Reasons List<IsVpn Server Route Health Reason> - (List) The reasons for the current health_state (if any).
- Health
State string - (String) The health of this resource.
- Href string
- (String) The URL for this VPN route.
- Is
Vpn stringServer Route Id - The unique identifier of the VPNServerRoute and it has format VPNServerID/VPNServerRouteID.
- Lifecycle
Reasons List<IsVpn Server Route Lifecycle Reason> - (List) The reasons for the current lifecycle_reasons (if any).
- Lifecycle
State string - (String) The lifecycle state of the VPN route.
- Name string
- The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words.Names must be unique within the VPN server the VPN route resides in.
- Resource
Type string - (String) The resource type.
- Timeouts
Is
Vpn Server Route Timeouts - Vpn
Route string - The identifier of the VPNServerRoute.
- Vpn
Server string - The VPN server identifier.
- Action string
The action to perform with a packet matching the VPN route.
Note: Allowed values are : •
translate
: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. •deliver
: deliver the packet to the target. •drop
: drop the packet. The enumerated values for this property are expected to expand in the future.- Created
At string - (String) The date and time that the VPN route was created.
- Destination string
- The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
- Health
Reasons []IsVpn Server Route Health Reason Args - (List) The reasons for the current health_state (if any).
- Health
State string - (String) The health of this resource.
- Href string
- (String) The URL for this VPN route.
- Is
Vpn stringServer Route Id - The unique identifier of the VPNServerRoute and it has format VPNServerID/VPNServerRouteID.
- Lifecycle
Reasons []IsVpn Server Route Lifecycle Reason Args - (List) The reasons for the current lifecycle_reasons (if any).
- Lifecycle
State string - (String) The lifecycle state of the VPN route.
- Name string
- The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words.Names must be unique within the VPN server the VPN route resides in.
- Resource
Type string - (String) The resource type.
- Timeouts
Is
Vpn Server Route Timeouts Args - Vpn
Route string - The identifier of the VPNServerRoute.
- Vpn
Server string - The VPN server identifier.
- action String
The action to perform with a packet matching the VPN route.
Note: Allowed values are : •
translate
: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. •deliver
: deliver the packet to the target. •drop
: drop the packet. The enumerated values for this property are expected to expand in the future.- created
At String - (String) The date and time that the VPN route was created.
- destination String
- The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
- health
Reasons List<IsVpn Server Route Health Reason> - (List) The reasons for the current health_state (if any).
- health
State String - (String) The health of this resource.
- href String
- (String) The URL for this VPN route.
- is
Vpn StringServer Route Id - The unique identifier of the VPNServerRoute and it has format VPNServerID/VPNServerRouteID.
- lifecycle
Reasons List<IsVpn Server Route Lifecycle Reason> - (List) The reasons for the current lifecycle_reasons (if any).
- lifecycle
State String - (String) The lifecycle state of the VPN route.
- name String
- The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words.Names must be unique within the VPN server the VPN route resides in.
- resource
Type String - (String) The resource type.
- timeouts
Is
Vpn Server Route Timeouts - vpn
Route String - The identifier of the VPNServerRoute.
- vpn
Server String - The VPN server identifier.
- action string
The action to perform with a packet matching the VPN route.
Note: Allowed values are : •
translate
: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. •deliver
: deliver the packet to the target. •drop
: drop the packet. The enumerated values for this property are expected to expand in the future.- created
At string - (String) The date and time that the VPN route was created.
- destination string
- The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
- health
Reasons IsVpn Server Route Health Reason[] - (List) The reasons for the current health_state (if any).
- health
State string - (String) The health of this resource.
- href string
- (String) The URL for this VPN route.
- is
Vpn stringServer Route Id - The unique identifier of the VPNServerRoute and it has format VPNServerID/VPNServerRouteID.
- lifecycle
Reasons IsVpn Server Route Lifecycle Reason[] - (List) The reasons for the current lifecycle_reasons (if any).
- lifecycle
State string - (String) The lifecycle state of the VPN route.
- name string
- The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words.Names must be unique within the VPN server the VPN route resides in.
- resource
Type string - (String) The resource type.
- timeouts
Is
Vpn Server Route Timeouts - vpn
Route string - The identifier of the VPNServerRoute.
- vpn
Server string - The VPN server identifier.
- action str
The action to perform with a packet matching the VPN route.
Note: Allowed values are : •
translate
: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. •deliver
: deliver the packet to the target. •drop
: drop the packet. The enumerated values for this property are expected to expand in the future.- created_
at str - (String) The date and time that the VPN route was created.
- destination str
- The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
- health_
reasons Sequence[IsVpn Server Route Health Reason Args] - (List) The reasons for the current health_state (if any).
- health_
state str - (String) The health of this resource.
- href str
- (String) The URL for this VPN route.
- is_
vpn_ strserver_ route_ id - The unique identifier of the VPNServerRoute and it has format VPNServerID/VPNServerRouteID.
- lifecycle_
reasons Sequence[IsVpn Server Route Lifecycle Reason Args] - (List) The reasons for the current lifecycle_reasons (if any).
- lifecycle_
state str - (String) The lifecycle state of the VPN route.
- name str
- The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words.Names must be unique within the VPN server the VPN route resides in.
- resource_
type str - (String) The resource type.
- timeouts
Is
Vpn Server Route Timeouts Args - vpn_
route str - The identifier of the VPNServerRoute.
- vpn_
server str - The VPN server identifier.
- action String
The action to perform with a packet matching the VPN route.
Note: Allowed values are : •
translate
: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. •deliver
: deliver the packet to the target. •drop
: drop the packet. The enumerated values for this property are expected to expand in the future.- created
At String - (String) The date and time that the VPN route was created.
- destination String
- The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
- health
Reasons List<Property Map> - (List) The reasons for the current health_state (if any).
- health
State String - (String) The health of this resource.
- href String
- (String) The URL for this VPN route.
- is
Vpn StringServer Route Id - The unique identifier of the VPNServerRoute and it has format VPNServerID/VPNServerRouteID.
- lifecycle
Reasons List<Property Map> - (List) The reasons for the current lifecycle_reasons (if any).
- lifecycle
State String - (String) The lifecycle state of the VPN route.
- name String
- The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words.Names must be unique within the VPN server the VPN route resides in.
- resource
Type String - (String) The resource type.
- timeouts Property Map
- vpn
Route String - The identifier of the VPNServerRoute.
- vpn
Server String - The VPN server identifier.
Supporting Types
IsVpnServerRouteHealthReason, IsVpnServerRouteHealthReasonArgs
IsVpnServerRouteLifecycleReason, IsVpnServerRouteLifecycleReasonArgs
IsVpnServerRouteTimeouts, IsVpnServerRouteTimeoutsArgs
Import
You can import the ibm_is_vpn_server_route
resource by using id
.
The id
property can be formed from vpn_server
, and vpn_route
in the following format:
vpn_server
: A string. The VPN server identifier.vpn_route
: A string. The VPN route identifier.
r134-0b5b3bed-8c95-4ded-81bf-913bf8ec5fa9/r134-299ed4f0-b279-4db3-8dfe-eff69a9fb66a
Syntax
$ pulumi import ibm:index/isVpnServerRoute:IsVpnServerRoute is_vpn_server_route r134-0b5b3bed-8c95-4ded-81bf-913bf8ec5fa9/r134-299ed4f0-b279-4db3-8dfe-eff69a9fb66a
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.