ibm.getIsVpcRoutingTableRoutes
Explore with Pulumi AI
Retrieve information of an existing IBM Cloud Infrastructure Virtual Private Cloud routing table routes as a read-only data source. For more information, about VPC default routing table, see about routing tables and routes.
Note:
VPC infrastructure services are a regional specific based endpoint, by default targets to us-south
. Please make sure to target right region in the provider block as shown in the provider.tf
file, if VPC service is created in region other than us-south
.
provider.tf
import * as pulumi from "@pulumi/pulumi";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
}
}
{}
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const exampleIsVpc = new ibm.IsVpc("exampleIsVpc", {});
const exampleIsVpcRoutingTable = new ibm.IsVpcRoutingTable("exampleIsVpcRoutingTable", {vpc: exampleIsVpc.isVpcId});
const exampleIsVpcRoutingTableRoutes = exampleIsVpc.isVpcId.apply(isVpcId => ibm.getIsVpcRoutingTableRoutesOutput({
vpc: isVpcId,
routingTable: ibm_is_vpc_routing_tables.example.routing_table,
}));
import pulumi
import pulumi_ibm as ibm
example_is_vpc = ibm.IsVpc("exampleIsVpc")
example_is_vpc_routing_table = ibm.IsVpcRoutingTable("exampleIsVpcRoutingTable", vpc=example_is_vpc.is_vpc_id)
example_is_vpc_routing_table_routes = example_is_vpc.is_vpc_id.apply(lambda is_vpc_id: ibm.get_is_vpc_routing_table_routes_output(vpc=is_vpc_id,
routing_table=ibm_is_vpc_routing_tables["example"]["routing_table"]))
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 {
exampleIsVpc, err := ibm.NewIsVpc(ctx, "exampleIsVpc", nil)
if err != nil {
return err
}
_, err = ibm.NewIsVpcRoutingTable(ctx, "exampleIsVpcRoutingTable", &ibm.IsVpcRoutingTableArgs{
Vpc: exampleIsVpc.IsVpcId,
})
if err != nil {
return err
}
_ = exampleIsVpc.IsVpcId.ApplyT(func(isVpcId string) (ibm.GetIsVpcRoutingTableRoutesResult, error) {
return ibm.GetIsVpcRoutingTableRoutesResult(interface{}(ibm.GetIsVpcRoutingTableRoutesOutput(ctx, ibm.GetIsVpcRoutingTableRoutesOutputArgs{
Vpc: isVpcId,
RoutingTable: ibm_is_vpc_routing_tables.Example.Routing_table,
}, nil))), nil
}).(ibm.GetIsVpcRoutingTableRoutesResultOutput)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var exampleIsVpc = new Ibm.IsVpc("exampleIsVpc");
var exampleIsVpcRoutingTable = new Ibm.IsVpcRoutingTable("exampleIsVpcRoutingTable", new()
{
Vpc = exampleIsVpc.IsVpcId,
});
var exampleIsVpcRoutingTableRoutes = Ibm.GetIsVpcRoutingTableRoutes.Invoke(new()
{
Vpc = exampleIsVpc.IsVpcId,
RoutingTable = ibm_is_vpc_routing_tables.Example.Routing_table,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsVpc;
import com.pulumi.ibm.IsVpcRoutingTable;
import com.pulumi.ibm.IsVpcRoutingTableArgs;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetIsVpcRoutingTableRoutesArgs;
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 exampleIsVpc = new IsVpc("exampleIsVpc");
var exampleIsVpcRoutingTable = new IsVpcRoutingTable("exampleIsVpcRoutingTable", IsVpcRoutingTableArgs.builder()
.vpc(exampleIsVpc.isVpcId())
.build());
final var exampleIsVpcRoutingTableRoutes = IbmFunctions.getIsVpcRoutingTableRoutes(GetIsVpcRoutingTableRoutesArgs.builder()
.vpc(exampleIsVpc.isVpcId())
.routingTable(ibm_is_vpc_routing_tables.example().routing_table())
.build());
}
}
resources:
exampleIsVpc:
type: ibm:IsVpc
exampleIsVpcRoutingTable:
type: ibm:IsVpcRoutingTable
properties:
vpc: ${exampleIsVpc.isVpcId}
variables:
exampleIsVpcRoutingTableRoutes:
fn::invoke:
function: ibm:getIsVpcRoutingTableRoutes
arguments:
vpc: ${exampleIsVpc.isVpcId}
routingTable: ${ibm_is_vpc_routing_tables.example.routing_table}
Using getIsVpcRoutingTableRoutes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIsVpcRoutingTableRoutes(args: GetIsVpcRoutingTableRoutesArgs, opts?: InvokeOptions): Promise<GetIsVpcRoutingTableRoutesResult>
function getIsVpcRoutingTableRoutesOutput(args: GetIsVpcRoutingTableRoutesOutputArgs, opts?: InvokeOptions): Output<GetIsVpcRoutingTableRoutesResult>
def get_is_vpc_routing_table_routes(id: Optional[str] = None,
routing_table: Optional[str] = None,
vpc: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsVpcRoutingTableRoutesResult
def get_is_vpc_routing_table_routes_output(id: Optional[pulumi.Input[str]] = None,
routing_table: Optional[pulumi.Input[str]] = None,
vpc: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsVpcRoutingTableRoutesResult]
func GetIsVpcRoutingTableRoutes(ctx *Context, args *GetIsVpcRoutingTableRoutesArgs, opts ...InvokeOption) (*GetIsVpcRoutingTableRoutesResult, error)
func GetIsVpcRoutingTableRoutesOutput(ctx *Context, args *GetIsVpcRoutingTableRoutesOutputArgs, opts ...InvokeOption) GetIsVpcRoutingTableRoutesResultOutput
> Note: This function is named GetIsVpcRoutingTableRoutes
in the Go SDK.
public static class GetIsVpcRoutingTableRoutes
{
public static Task<GetIsVpcRoutingTableRoutesResult> InvokeAsync(GetIsVpcRoutingTableRoutesArgs args, InvokeOptions? opts = null)
public static Output<GetIsVpcRoutingTableRoutesResult> Invoke(GetIsVpcRoutingTableRoutesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsVpcRoutingTableRoutesResult> getIsVpcRoutingTableRoutes(GetIsVpcRoutingTableRoutesArgs args, InvokeOptions options)
public static Output<GetIsVpcRoutingTableRoutesResult> getIsVpcRoutingTableRoutes(GetIsVpcRoutingTableRoutesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsVpcRoutingTableRoutes:getIsVpcRoutingTableRoutes
arguments:
# arguments dictionary
The following arguments are supported:
- Routing
Table This property is required. string - The ID of the routing table.
- Vpc
This property is required. string - The ID of the VPC.
- Id string
- (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- Routing
Table This property is required. string - The ID of the routing table.
- Vpc
This property is required. string - The ID of the VPC.
- Id string
- (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- routing
Table This property is required. String - The ID of the routing table.
- vpc
This property is required. String - The ID of the VPC.
- id String
- (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- routing
Table This property is required. string - The ID of the routing table.
- vpc
This property is required. string - The ID of the VPC.
- id string
- (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- routing_
table This property is required. str - The ID of the routing table.
- vpc
This property is required. str - The ID of the VPC.
- id str
- (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- routing
Table This property is required. String - The ID of the routing table.
- vpc
This property is required. String - The ID of the VPC.
- id String
- (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
getIsVpcRoutingTableRoutes Result
The following output properties are available:
- Id string
- (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- Routes
List<Get
Is Vpc Routing Table Routes Route> - (List) List of all the routing table in a VPC.
- Routing
Table string - Vpc string
- Id string
- (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- Routes
[]Get
Is Vpc Routing Table Routes Route - (List) List of all the routing table in a VPC.
- Routing
Table string - Vpc string
- id String
- (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- routes
List<Get
Is Vpc Routing Table Routes Route> - (List) List of all the routing table in a VPC.
- routing
Table String - vpc String
- id string
- (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- routes
Get
Is Vpc Routing Table Routes Route[] - (List) List of all the routing table in a VPC.
- routing
Table string - vpc string
- id str
- (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- routes
Sequence[Get
Is Vpc Routing Table Routes Route] - (List) List of all the routing table in a VPC.
- routing_
table str - vpc str
- id String
- (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- routes List<Property Map>
- (List) List of all the routing table in a VPC.
- routing
Table String - vpc String
Supporting Types
GetIsVpcRoutingTableRoutesRoute
- Action
This property is required. string - (String) The action to perform with a packet matching the route.
- Advertise
This property is required. bool - (Boolean) Indicates whether this route will be advertised to the ingress sources specified by the
advertise_routes_to
routing table property. - Created
At This property is required. string - (Timestamp) The date and time that the route was created.
- Creators
This property is required. List<GetIs Vpc Routing Table Routes Route Creator> - (List) If present, the resource that created the route. Routes with this property present cannot bedirectly deleted. All routes with an
origin
oflearned
orservice
will have thisproperty set, and futureorigin
values may also have this property set. Nested scheme for creator: - Destination
This property is required. string - (String) The destination of the route.
- Href
This property is required. string - (String) The VPN gateway's canonical URL.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Lifecycle
State This property is required. string - (String) The lifecycle state of the route.
- Name
This property is required. string - (String) The user-defined name for this VPN gateway.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^-?([a-z]|[a-z][-a-z0-9]*[a-z0-9]|[0-9][-a-z0-9]*([a-z]|[-a-z][-a-z0-9]*[a-z0-9]))$/
.
- Constraints: The maximum length is
- Nexthop
This property is required. string - Origin
This property is required. string - (String) The origin of this route:-
service
: route was directly created by a service -user
: route was directly created by a userThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the route on which the unexpected property value was encountered.- Constraints: Allowable values are:
learned
,service
,user
.
- Constraints: Allowable values are:
- Priority
This property is required. double - (Integer) The route's priority. Smaller values have higher priority. If a routing table contains routes with the same destination, the route with the highest priority (smallest value) is selected. For Example (2), supports values from 0 to 4. Default is 2.
- Route
Id This property is required. string - (String) The unique ID for the route.
- Zone
This property is required. string - (String) The zone name of the route.
- Action
This property is required. string - (String) The action to perform with a packet matching the route.
- Advertise
This property is required. bool - (Boolean) Indicates whether this route will be advertised to the ingress sources specified by the
advertise_routes_to
routing table property. - Created
At This property is required. string - (Timestamp) The date and time that the route was created.
- Creators
This property is required. []GetIs Vpc Routing Table Routes Route Creator - (List) If present, the resource that created the route. Routes with this property present cannot bedirectly deleted. All routes with an
origin
oflearned
orservice
will have thisproperty set, and futureorigin
values may also have this property set. Nested scheme for creator: - Destination
This property is required. string - (String) The destination of the route.
- Href
This property is required. string - (String) The VPN gateway's canonical URL.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Lifecycle
State This property is required. string - (String) The lifecycle state of the route.
- Name
This property is required. string - (String) The user-defined name for this VPN gateway.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^-?([a-z]|[a-z][-a-z0-9]*[a-z0-9]|[0-9][-a-z0-9]*([a-z]|[-a-z][-a-z0-9]*[a-z0-9]))$/
.
- Constraints: The maximum length is
- Nexthop
This property is required. string - Origin
This property is required. string - (String) The origin of this route:-
service
: route was directly created by a service -user
: route was directly created by a userThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the route on which the unexpected property value was encountered.- Constraints: Allowable values are:
learned
,service
,user
.
- Constraints: Allowable values are:
- Priority
This property is required. float64 - (Integer) The route's priority. Smaller values have higher priority. If a routing table contains routes with the same destination, the route with the highest priority (smallest value) is selected. For Example (2), supports values from 0 to 4. Default is 2.
- Route
Id This property is required. string - (String) The unique ID for the route.
- Zone
This property is required. string - (String) The zone name of the route.
- action
This property is required. String - (String) The action to perform with a packet matching the route.
- advertise
This property is required. Boolean - (Boolean) Indicates whether this route will be advertised to the ingress sources specified by the
advertise_routes_to
routing table property. - created
At This property is required. String - (Timestamp) The date and time that the route was created.
- creators
This property is required. List<GetIs Vpc Routing Table Routes Route Creator> - (List) If present, the resource that created the route. Routes with this property present cannot bedirectly deleted. All routes with an
origin
oflearned
orservice
will have thisproperty set, and futureorigin
values may also have this property set. Nested scheme for creator: - destination
This property is required. String - (String) The destination of the route.
- href
This property is required. String - (String) The VPN gateway's canonical URL.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- lifecycle
State This property is required. String - (String) The lifecycle state of the route.
- name
This property is required. String - (String) The user-defined name for this VPN gateway.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^-?([a-z]|[a-z][-a-z0-9]*[a-z0-9]|[0-9][-a-z0-9]*([a-z]|[-a-z][-a-z0-9]*[a-z0-9]))$/
.
- Constraints: The maximum length is
- nexthop
This property is required. String - origin
This property is required. String - (String) The origin of this route:-
service
: route was directly created by a service -user
: route was directly created by a userThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the route on which the unexpected property value was encountered.- Constraints: Allowable values are:
learned
,service
,user
.
- Constraints: Allowable values are:
- priority
This property is required. Double - (Integer) The route's priority. Smaller values have higher priority. If a routing table contains routes with the same destination, the route with the highest priority (smallest value) is selected. For Example (2), supports values from 0 to 4. Default is 2.
- route
Id This property is required. String - (String) The unique ID for the route.
- zone
This property is required. String - (String) The zone name of the route.
- action
This property is required. string - (String) The action to perform with a packet matching the route.
- advertise
This property is required. boolean - (Boolean) Indicates whether this route will be advertised to the ingress sources specified by the
advertise_routes_to
routing table property. - created
At This property is required. string - (Timestamp) The date and time that the route was created.
- creators
This property is required. GetIs Vpc Routing Table Routes Route Creator[] - (List) If present, the resource that created the route. Routes with this property present cannot bedirectly deleted. All routes with an
origin
oflearned
orservice
will have thisproperty set, and futureorigin
values may also have this property set. Nested scheme for creator: - destination
This property is required. string - (String) The destination of the route.
- href
This property is required. string - (String) The VPN gateway's canonical URL.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- lifecycle
State This property is required. string - (String) The lifecycle state of the route.
- name
This property is required. string - (String) The user-defined name for this VPN gateway.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^-?([a-z]|[a-z][-a-z0-9]*[a-z0-9]|[0-9][-a-z0-9]*([a-z]|[-a-z][-a-z0-9]*[a-z0-9]))$/
.
- Constraints: The maximum length is
- nexthop
This property is required. string - origin
This property is required. string - (String) The origin of this route:-
service
: route was directly created by a service -user
: route was directly created by a userThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the route on which the unexpected property value was encountered.- Constraints: Allowable values are:
learned
,service
,user
.
- Constraints: Allowable values are:
- priority
This property is required. number - (Integer) The route's priority. Smaller values have higher priority. If a routing table contains routes with the same destination, the route with the highest priority (smallest value) is selected. For Example (2), supports values from 0 to 4. Default is 2.
- route
Id This property is required. string - (String) The unique ID for the route.
- zone
This property is required. string - (String) The zone name of the route.
- action
This property is required. str - (String) The action to perform with a packet matching the route.
- advertise
This property is required. bool - (Boolean) Indicates whether this route will be advertised to the ingress sources specified by the
advertise_routes_to
routing table property. - created_
at This property is required. str - (Timestamp) The date and time that the route was created.
- creators
This property is required. Sequence[GetIs Vpc Routing Table Routes Route Creator] - (List) If present, the resource that created the route. Routes with this property present cannot bedirectly deleted. All routes with an
origin
oflearned
orservice
will have thisproperty set, and futureorigin
values may also have this property set. Nested scheme for creator: - destination
This property is required. str - (String) The destination of the route.
- href
This property is required. str - (String) The VPN gateway's canonical URL.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- lifecycle_
state This property is required. str - (String) The lifecycle state of the route.
- name
This property is required. str - (String) The user-defined name for this VPN gateway.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^-?([a-z]|[a-z][-a-z0-9]*[a-z0-9]|[0-9][-a-z0-9]*([a-z]|[-a-z][-a-z0-9]*[a-z0-9]))$/
.
- Constraints: The maximum length is
- nexthop
This property is required. str - origin
This property is required. str - (String) The origin of this route:-
service
: route was directly created by a service -user
: route was directly created by a userThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the route on which the unexpected property value was encountered.- Constraints: Allowable values are:
learned
,service
,user
.
- Constraints: Allowable values are:
- priority
This property is required. float - (Integer) The route's priority. Smaller values have higher priority. If a routing table contains routes with the same destination, the route with the highest priority (smallest value) is selected. For Example (2), supports values from 0 to 4. Default is 2.
- route_
id This property is required. str - (String) The unique ID for the route.
- zone
This property is required. str - (String) The zone name of the route.
- action
This property is required. String - (String) The action to perform with a packet matching the route.
- advertise
This property is required. Boolean - (Boolean) Indicates whether this route will be advertised to the ingress sources specified by the
advertise_routes_to
routing table property. - created
At This property is required. String - (Timestamp) The date and time that the route was created.
- creators
This property is required. List<Property Map> - (List) If present, the resource that created the route. Routes with this property present cannot bedirectly deleted. All routes with an
origin
oflearned
orservice
will have thisproperty set, and futureorigin
values may also have this property set. Nested scheme for creator: - destination
This property is required. String - (String) The destination of the route.
- href
This property is required. String - (String) The VPN gateway's canonical URL.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- lifecycle
State This property is required. String - (String) The lifecycle state of the route.
- name
This property is required. String - (String) The user-defined name for this VPN gateway.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^-?([a-z]|[a-z][-a-z0-9]*[a-z0-9]|[0-9][-a-z0-9]*([a-z]|[-a-z][-a-z0-9]*[a-z0-9]))$/
.
- Constraints: The maximum length is
- nexthop
This property is required. String - origin
This property is required. String - (String) The origin of this route:-
service
: route was directly created by a service -user
: route was directly created by a userThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the route on which the unexpected property value was encountered.- Constraints: Allowable values are:
learned
,service
,user
.
- Constraints: Allowable values are:
- priority
This property is required. Number - (Integer) The route's priority. Smaller values have higher priority. If a routing table contains routes with the same destination, the route with the highest priority (smallest value) is selected. For Example (2), supports values from 0 to 4. Default is 2.
- route
Id This property is required. String - (String) The unique ID for the route.
- zone
This property is required. String - (String) The zone name of the route.
GetIsVpcRoutingTableRoutesRouteCreator
- Crn
This property is required. string - (String) The VPN gateway's CRN.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters.
- Constraints: The maximum length is
- Deleteds
This property is required. List<GetIs Vpc Routing Table Routes Route Creator Deleted> - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
- Href
This property is required. string - (String) The VPN gateway's canonical URL.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Id
This property is required. string - (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- Name
This property is required. string - (String) The user-defined name for this VPN gateway.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^-?([a-z]|[a-z][-a-z0-9]*[a-z0-9]|[0-9][-a-z0-9]*([a-z]|[-a-z][-a-z0-9]*[a-z0-9]))$/
.
- Constraints: The maximum length is
- Resource
Type This property is required. string - (String) The resource type.
- Constraints: Allowable values are:
vpn_gateway
. The maximum length is128
characters. The minimum length is1
character. The value must match regular expression/^[a-z][a-z0-9]*(_[a-z0-9]+)*$/
.
- Constraints: Allowable values are:
- Crn
This property is required. string - (String) The VPN gateway's CRN.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters.
- Constraints: The maximum length is
- Deleteds
This property is required. []GetIs Vpc Routing Table Routes Route Creator Deleted - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
- Href
This property is required. string - (String) The VPN gateway's canonical URL.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Id
This property is required. string - (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- Name
This property is required. string - (String) The user-defined name for this VPN gateway.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^-?([a-z]|[a-z][-a-z0-9]*[a-z0-9]|[0-9][-a-z0-9]*([a-z]|[-a-z][-a-z0-9]*[a-z0-9]))$/
.
- Constraints: The maximum length is
- Resource
Type This property is required. string - (String) The resource type.
- Constraints: Allowable values are:
vpn_gateway
. The maximum length is128
characters. The minimum length is1
character. The value must match regular expression/^[a-z][a-z0-9]*(_[a-z0-9]+)*$/
.
- Constraints: Allowable values are:
- crn
This property is required. String - (String) The VPN gateway's CRN.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters.
- Constraints: The maximum length is
- deleteds
This property is required. List<GetIs Vpc Routing Table Routes Route Creator Deleted> - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
- href
This property is required. String - (String) The VPN gateway's canonical URL.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id
This property is required. String - (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- name
This property is required. String - (String) The user-defined name for this VPN gateway.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^-?([a-z]|[a-z][-a-z0-9]*[a-z0-9]|[0-9][-a-z0-9]*([a-z]|[-a-z][-a-z0-9]*[a-z0-9]))$/
.
- Constraints: The maximum length is
- resource
Type This property is required. String - (String) The resource type.
- Constraints: Allowable values are:
vpn_gateway
. The maximum length is128
characters. The minimum length is1
character. The value must match regular expression/^[a-z][a-z0-9]*(_[a-z0-9]+)*$/
.
- Constraints: Allowable values are:
- crn
This property is required. string - (String) The VPN gateway's CRN.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters.
- Constraints: The maximum length is
- deleteds
This property is required. GetIs Vpc Routing Table Routes Route Creator Deleted[] - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
- href
This property is required. string - (String) The VPN gateway's canonical URL.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id
This property is required. string - (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- name
This property is required. string - (String) The user-defined name for this VPN gateway.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^-?([a-z]|[a-z][-a-z0-9]*[a-z0-9]|[0-9][-a-z0-9]*([a-z]|[-a-z][-a-z0-9]*[a-z0-9]))$/
.
- Constraints: The maximum length is
- resource
Type This property is required. string - (String) The resource type.
- Constraints: Allowable values are:
vpn_gateway
. The maximum length is128
characters. The minimum length is1
character. The value must match regular expression/^[a-z][a-z0-9]*(_[a-z0-9]+)*$/
.
- Constraints: Allowable values are:
- crn
This property is required. str - (String) The VPN gateway's CRN.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters.
- Constraints: The maximum length is
- deleteds
This property is required. Sequence[GetIs Vpc Routing Table Routes Route Creator Deleted] - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
- href
This property is required. str - (String) The VPN gateway's canonical URL.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id
This property is required. str - (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- name
This property is required. str - (String) The user-defined name for this VPN gateway.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^-?([a-z]|[a-z][-a-z0-9]*[a-z0-9]|[0-9][-a-z0-9]*([a-z]|[-a-z][-a-z0-9]*[a-z0-9]))$/
.
- Constraints: The maximum length is
- resource_
type This property is required. str - (String) The resource type.
- Constraints: Allowable values are:
vpn_gateway
. The maximum length is128
characters. The minimum length is1
character. The value must match regular expression/^[a-z][a-z0-9]*(_[a-z0-9]+)*$/
.
- Constraints: Allowable values are:
- crn
This property is required. String - (String) The VPN gateway's CRN.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters.
- Constraints: The maximum length is
- deleteds
This property is required. List<Property Map> - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
- href
This property is required. String - (String) The VPN gateway's canonical URL.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id
This property is required. String - (String) The unique identifier for this VPN gateway.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-z_]+$/
.
- Constraints: The maximum length is
- name
This property is required. String - (String) The user-defined name for this VPN gateway.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^-?([a-z]|[a-z][-a-z0-9]*[a-z0-9]|[0-9][-a-z0-9]*([a-z]|[-a-z][-a-z0-9]*[a-z0-9]))$/
.
- Constraints: The maximum length is
- resource
Type This property is required. String - (String) The resource type.
- Constraints: Allowable values are:
vpn_gateway
. The maximum length is128
characters. The minimum length is1
character. The value must match regular expression/^[a-z][a-z0-9]*(_[a-z0-9]+)*$/
.
- Constraints: Allowable values are:
GetIsVpcRoutingTableRoutesRouteCreatorDeleted
- More
Info This property is required. string - (Required, String) Link to documentation about deleted resources.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- More
Info This property is required. string - (Required, String) Link to documentation about deleted resources.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- more
Info This property is required. String - (Required, String) Link to documentation about deleted resources.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- more
Info This property is required. string - (Required, String) Link to documentation about deleted resources.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- more_
info This property is required. str - (Required, String) Link to documentation about deleted resources.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- more
Info This property is required. String - (Required, String) Link to documentation about deleted resources.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.