1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectSystemSdnconnectorRoutetableRoute
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectSystemSdnconnectorRoutetableRoute

Explore with Pulumi AI

Configure Azure route.

This resource is a sub resource for variable route of resource fortimanager.ObjectSystemSdnconnectorRoutetable. Conflict and overwrite may occur if use both of them.

Create ObjectSystemSdnconnectorRoutetableRoute Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ObjectSystemSdnconnectorRoutetableRoute(name: string, args: ObjectSystemSdnconnectorRoutetableRouteArgs, opts?: CustomResourceOptions);
@overload
def ObjectSystemSdnconnectorRoutetableRoute(resource_name: str,
                                            args: ObjectSystemSdnconnectorRoutetableRouteInitArgs,
                                            opts: Optional[ResourceOptions] = None)

@overload
def ObjectSystemSdnconnectorRoutetableRoute(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            route_table: Optional[str] = None,
                                            sdn_connector: Optional[str] = None,
                                            adom: Optional[str] = None,
                                            name: Optional[str] = None,
                                            next_hop: Optional[str] = None,
                                            object_system_sdnconnector_routetable_route_id: Optional[str] = None,
                                            scopetype: Optional[str] = None)
func NewObjectSystemSdnconnectorRoutetableRoute(ctx *Context, name string, args ObjectSystemSdnconnectorRoutetableRouteArgs, opts ...ResourceOption) (*ObjectSystemSdnconnectorRoutetableRoute, error)
public ObjectSystemSdnconnectorRoutetableRoute(string name, ObjectSystemSdnconnectorRoutetableRouteArgs args, CustomResourceOptions? opts = null)
public ObjectSystemSdnconnectorRoutetableRoute(String name, ObjectSystemSdnconnectorRoutetableRouteArgs args)
public ObjectSystemSdnconnectorRoutetableRoute(String name, ObjectSystemSdnconnectorRoutetableRouteArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSystemSdnconnectorRoutetableRoute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ObjectSystemSdnconnectorRoutetableRouteArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ObjectSystemSdnconnectorRoutetableRouteInitArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectSystemSdnconnectorRoutetableRouteArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectSystemSdnconnectorRoutetableRouteArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectSystemSdnconnectorRoutetableRouteArgs
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 objectSystemSdnconnectorRoutetableRouteResource = new Fortimanager.ObjectSystemSdnconnectorRoutetableRoute("objectSystemSdnconnectorRoutetableRouteResource", new()
{
    RouteTable = "string",
    SdnConnector = "string",
    Adom = "string",
    Name = "string",
    NextHop = "string",
    ObjectSystemSdnconnectorRoutetableRouteId = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectSystemSdnconnectorRoutetableRoute(ctx, "objectSystemSdnconnectorRoutetableRouteResource", &fortimanager.ObjectSystemSdnconnectorRoutetableRouteArgs{
RouteTable: pulumi.String("string"),
SdnConnector: pulumi.String("string"),
Adom: pulumi.String("string"),
Name: pulumi.String("string"),
NextHop: pulumi.String("string"),
ObjectSystemSdnconnectorRoutetableRouteId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectSystemSdnconnectorRoutetableRouteResource = new ObjectSystemSdnconnectorRoutetableRoute("objectSystemSdnconnectorRoutetableRouteResource", ObjectSystemSdnconnectorRoutetableRouteArgs.builder()
    .routeTable("string")
    .sdnConnector("string")
    .adom("string")
    .name("string")
    .nextHop("string")
    .objectSystemSdnconnectorRoutetableRouteId("string")
    .scopetype("string")
    .build());
Copy
object_system_sdnconnector_routetable_route_resource = fortimanager.ObjectSystemSdnconnectorRoutetableRoute("objectSystemSdnconnectorRoutetableRouteResource",
    route_table="string",
    sdn_connector="string",
    adom="string",
    name="string",
    next_hop="string",
    object_system_sdnconnector_routetable_route_id="string",
    scopetype="string")
Copy
const objectSystemSdnconnectorRoutetableRouteResource = new fortimanager.ObjectSystemSdnconnectorRoutetableRoute("objectSystemSdnconnectorRoutetableRouteResource", {
    routeTable: "string",
    sdnConnector: "string",
    adom: "string",
    name: "string",
    nextHop: "string",
    objectSystemSdnconnectorRoutetableRouteId: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectSystemSdnconnectorRoutetableRoute
properties:
    adom: string
    name: string
    nextHop: string
    objectSystemSdnconnectorRoutetableRouteId: string
    routeTable: string
    scopetype: string
    sdnConnector: string
Copy

ObjectSystemSdnconnectorRoutetableRoute 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 ObjectSystemSdnconnectorRoutetableRoute resource accepts the following input properties:

RouteTable This property is required. string
Route Table.
SdnConnector This property is required. string
Sdn Connector.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Name string
Route name.
NextHop string
Next hop address.
ObjectSystemSdnconnectorRoutetableRouteId string
an identifier for the resource with format {{name}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
RouteTable This property is required. string
Route Table.
SdnConnector This property is required. string
Sdn Connector.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Name string
Route name.
NextHop string
Next hop address.
ObjectSystemSdnconnectorRoutetableRouteId string
an identifier for the resource with format {{name}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
routeTable This property is required. String
Route Table.
sdnConnector This property is required. String
Sdn Connector.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name String
Route name.
nextHop String
Next hop address.
objectSystemSdnconnectorRoutetableRouteId String
an identifier for the resource with format {{name}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
routeTable This property is required. string
Route Table.
sdnConnector This property is required. string
Sdn Connector.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name string
Route name.
nextHop string
Next hop address.
objectSystemSdnconnectorRoutetableRouteId string
an identifier for the resource with format {{name}}.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
route_table This property is required. str
Route Table.
sdn_connector This property is required. str
Sdn Connector.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name str
Route name.
next_hop str
Next hop address.
object_system_sdnconnector_routetable_route_id str
an identifier for the resource with format {{name}}.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
routeTable This property is required. String
Route Table.
sdnConnector This property is required. String
Sdn Connector.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name String
Route name.
nextHop String
Next hop address.
objectSystemSdnconnectorRoutetableRouteId String
an identifier for the resource with format {{name}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ObjectSystemSdnconnectorRoutetableRoute Resource

Get an existing ObjectSystemSdnconnectorRoutetableRoute 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?: ObjectSystemSdnconnectorRoutetableRouteState, opts?: CustomResourceOptions): ObjectSystemSdnconnectorRoutetableRoute
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        name: Optional[str] = None,
        next_hop: Optional[str] = None,
        object_system_sdnconnector_routetable_route_id: Optional[str] = None,
        route_table: Optional[str] = None,
        scopetype: Optional[str] = None,
        sdn_connector: Optional[str] = None) -> ObjectSystemSdnconnectorRoutetableRoute
func GetObjectSystemSdnconnectorRoutetableRoute(ctx *Context, name string, id IDInput, state *ObjectSystemSdnconnectorRoutetableRouteState, opts ...ResourceOption) (*ObjectSystemSdnconnectorRoutetableRoute, error)
public static ObjectSystemSdnconnectorRoutetableRoute Get(string name, Input<string> id, ObjectSystemSdnconnectorRoutetableRouteState? state, CustomResourceOptions? opts = null)
public static ObjectSystemSdnconnectorRoutetableRoute get(String name, Output<String> id, ObjectSystemSdnconnectorRoutetableRouteState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSystemSdnconnectorRoutetableRoute    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Name string
Route name.
NextHop string
Next hop address.
ObjectSystemSdnconnectorRoutetableRouteId string
an identifier for the resource with format {{name}}.
RouteTable string
Route Table.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SdnConnector string
Sdn Connector.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Name string
Route name.
NextHop string
Next hop address.
ObjectSystemSdnconnectorRoutetableRouteId string
an identifier for the resource with format {{name}}.
RouteTable string
Route Table.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SdnConnector string
Sdn Connector.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name String
Route name.
nextHop String
Next hop address.
objectSystemSdnconnectorRoutetableRouteId String
an identifier for the resource with format {{name}}.
routeTable String
Route Table.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sdnConnector String
Sdn Connector.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name string
Route name.
nextHop string
Next hop address.
objectSystemSdnconnectorRoutetableRouteId string
an identifier for the resource with format {{name}}.
routeTable string
Route Table.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sdnConnector string
Sdn Connector.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name str
Route name.
next_hop str
Next hop address.
object_system_sdnconnector_routetable_route_id str
an identifier for the resource with format {{name}}.
route_table str
Route Table.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sdn_connector str
Sdn Connector.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
name String
Route name.
nextHop String
Next hop address.
objectSystemSdnconnectorRoutetableRouteId String
an identifier for the resource with format {{name}}.
routeTable String
Route Table.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sdnConnector String
Sdn Connector.

Import

ObjectSystem SdnConnectorRouteTableRoute can be imported using any of these accepted formats:

Set import_options = [“sdn_connector=YOUR_VALUE”, “route_table=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectSystemSdnconnectorRoutetableRoute:ObjectSystemSdnconnectorRoutetableRoute labelname {{name}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.