1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectSystemSdnconnectorRoutetable
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectSystemSdnconnectorRoutetable

Explore with Pulumi AI

Configure Azure route table.

This resource is a sub resource for variable route_table of resource fortimanager.ObjectSystemSdnconnector. Conflict and overwrite may occur if use both of them. The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • route: fortimanager.ObjectSystemSdnconnectorRoutetableRoute

Create ObjectSystemSdnconnectorRoutetable Resource

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

Constructor syntax

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

@overload
def ObjectSystemSdnconnectorRoutetable(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       sdn_connector: Optional[str] = None,
                                       adom: Optional[str] = None,
                                       dynamic_sort_subtable: Optional[str] = None,
                                       name: Optional[str] = None,
                                       object_system_sdnconnector_routetable_id: Optional[str] = None,
                                       resource_group: Optional[str] = None,
                                       routes: Optional[Sequence[ObjectSystemSdnconnectorRoutetableRouteArgs]] = None,
                                       scopetype: Optional[str] = None,
                                       subscription_id: Optional[str] = None)
func NewObjectSystemSdnconnectorRoutetable(ctx *Context, name string, args ObjectSystemSdnconnectorRoutetableArgs, opts ...ResourceOption) (*ObjectSystemSdnconnectorRoutetable, error)
public ObjectSystemSdnconnectorRoutetable(string name, ObjectSystemSdnconnectorRoutetableArgs args, CustomResourceOptions? opts = null)
public ObjectSystemSdnconnectorRoutetable(String name, ObjectSystemSdnconnectorRoutetableArgs args)
public ObjectSystemSdnconnectorRoutetable(String name, ObjectSystemSdnconnectorRoutetableArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSystemSdnconnectorRoutetable
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. ObjectSystemSdnconnectorRoutetableArgs
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. ObjectSystemSdnconnectorRoutetableArgs
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. ObjectSystemSdnconnectorRoutetableArgs
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. ObjectSystemSdnconnectorRoutetableArgs
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. ObjectSystemSdnconnectorRoutetableArgs
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 objectSystemSdnconnectorRoutetableResource = new Fortimanager.ObjectSystemSdnconnectorRoutetable("objectSystemSdnconnectorRoutetableResource", new()
{
    SdnConnector = "string",
    Adom = "string",
    DynamicSortSubtable = "string",
    Name = "string",
    ObjectSystemSdnconnectorRoutetableId = "string",
    ResourceGroup = "string",
    Routes = new[]
    {
        new Fortimanager.Inputs.ObjectSystemSdnconnectorRoutetableRouteArgs
        {
            Name = "string",
            NextHop = "string",
        },
    },
    Scopetype = "string",
    SubscriptionId = "string",
});
Copy
example, err := fortimanager.NewObjectSystemSdnconnectorRoutetable(ctx, "objectSystemSdnconnectorRoutetableResource", &fortimanager.ObjectSystemSdnconnectorRoutetableArgs{
SdnConnector: pulumi.String("string"),
Adom: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectSystemSdnconnectorRoutetableId: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
Routes: .ObjectSystemSdnconnectorRoutetableRouteTypeArray{
&.ObjectSystemSdnconnectorRoutetableRouteTypeArgs{
Name: pulumi.String("string"),
NextHop: pulumi.String("string"),
},
},
Scopetype: pulumi.String("string"),
SubscriptionId: pulumi.String("string"),
})
Copy
var objectSystemSdnconnectorRoutetableResource = new ObjectSystemSdnconnectorRoutetable("objectSystemSdnconnectorRoutetableResource", ObjectSystemSdnconnectorRoutetableArgs.builder()
    .sdnConnector("string")
    .adom("string")
    .dynamicSortSubtable("string")
    .name("string")
    .objectSystemSdnconnectorRoutetableId("string")
    .resourceGroup("string")
    .routes(ObjectSystemSdnconnectorRoutetableRouteArgs.builder()
        .name("string")
        .nextHop("string")
        .build())
    .scopetype("string")
    .subscriptionId("string")
    .build());
Copy
object_system_sdnconnector_routetable_resource = fortimanager.ObjectSystemSdnconnectorRoutetable("objectSystemSdnconnectorRoutetableResource",
    sdn_connector="string",
    adom="string",
    dynamic_sort_subtable="string",
    name="string",
    object_system_sdnconnector_routetable_id="string",
    resource_group="string",
    routes=[{
        "name": "string",
        "next_hop": "string",
    }],
    scopetype="string",
    subscription_id="string")
Copy
const objectSystemSdnconnectorRoutetableResource = new fortimanager.ObjectSystemSdnconnectorRoutetable("objectSystemSdnconnectorRoutetableResource", {
    sdnConnector: "string",
    adom: "string",
    dynamicSortSubtable: "string",
    name: "string",
    objectSystemSdnconnectorRoutetableId: "string",
    resourceGroup: "string",
    routes: [{
        name: "string",
        nextHop: "string",
    }],
    scopetype: "string",
    subscriptionId: "string",
});
Copy
type: fortimanager:ObjectSystemSdnconnectorRoutetable
properties:
    adom: string
    dynamicSortSubtable: string
    name: string
    objectSystemSdnconnectorRoutetableId: string
    resourceGroup: string
    routes:
        - name: string
          nextHop: string
    scopetype: string
    sdnConnector: string
    subscriptionId: string
Copy

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

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.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Route table name.
ObjectSystemSdnconnectorRoutetableId string
an identifier for the resource with format {{name}}.
ResourceGroup string
Resource group of Azure route table.
Routes List<ObjectSystemSdnconnectorRoutetableRoute>
Route. The structure of route block is documented below.
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.
SubscriptionId string
Subscription ID of Azure 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.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Route table name.
ObjectSystemSdnconnectorRoutetableId string
an identifier for the resource with format {{name}}.
ResourceGroup string
Resource group of Azure route table.
Routes []ObjectSystemSdnconnectorRoutetableRouteTypeArgs
Route. The structure of route block is documented below.
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.
SubscriptionId string
Subscription ID of Azure 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.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Route table name.
objectSystemSdnconnectorRoutetableId String
an identifier for the resource with format {{name}}.
resourceGroup String
Resource group of Azure route table.
routes List<ObjectSystemSdnconnectorRoutetableRoute>
Route. The structure of route block is documented below.
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.
subscriptionId String
Subscription ID of Azure 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.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name string
Route table name.
objectSystemSdnconnectorRoutetableId string
an identifier for the resource with format {{name}}.
resourceGroup string
Resource group of Azure route table.
routes ObjectSystemSdnconnectorRoutetableRoute[]
Route. The structure of route block is documented below.
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.
subscriptionId string
Subscription ID of Azure 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.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name str
Route table name.
object_system_sdnconnector_routetable_id str
an identifier for the resource with format {{name}}.
resource_group str
Resource group of Azure route table.
routes Sequence[ObjectSystemSdnconnectorRoutetableRouteArgs]
Route. The structure of route block is documented below.
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.
subscription_id str
Subscription ID of Azure 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.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Route table name.
objectSystemSdnconnectorRoutetableId String
an identifier for the resource with format {{name}}.
resourceGroup String
Resource group of Azure route table.
routes List<Property Map>
Route. The structure of route block is documented below.
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.
subscriptionId String
Subscription ID of Azure route table.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectSystemSdnconnectorRoutetable 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 ObjectSystemSdnconnectorRoutetable Resource

Get an existing ObjectSystemSdnconnectorRoutetable 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?: ObjectSystemSdnconnectorRoutetableState, opts?: CustomResourceOptions): ObjectSystemSdnconnectorRoutetable
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        name: Optional[str] = None,
        object_system_sdnconnector_routetable_id: Optional[str] = None,
        resource_group: Optional[str] = None,
        routes: Optional[Sequence[ObjectSystemSdnconnectorRoutetableRouteArgs]] = None,
        scopetype: Optional[str] = None,
        sdn_connector: Optional[str] = None,
        subscription_id: Optional[str] = None) -> ObjectSystemSdnconnectorRoutetable
func GetObjectSystemSdnconnectorRoutetable(ctx *Context, name string, id IDInput, state *ObjectSystemSdnconnectorRoutetableState, opts ...ResourceOption) (*ObjectSystemSdnconnectorRoutetable, error)
public static ObjectSystemSdnconnectorRoutetable Get(string name, Input<string> id, ObjectSystemSdnconnectorRoutetableState? state, CustomResourceOptions? opts = null)
public static ObjectSystemSdnconnectorRoutetable get(String name, Output<String> id, ObjectSystemSdnconnectorRoutetableState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSystemSdnconnectorRoutetable    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.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Route table name.
ObjectSystemSdnconnectorRoutetableId string
an identifier for the resource with format {{name}}.
ResourceGroup string
Resource group of Azure route table.
Routes List<ObjectSystemSdnconnectorRoutetableRoute>
Route. The structure of route block is documented below.
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.
SubscriptionId string
Subscription ID of Azure route table.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Route table name.
ObjectSystemSdnconnectorRoutetableId string
an identifier for the resource with format {{name}}.
ResourceGroup string
Resource group of Azure route table.
Routes []ObjectSystemSdnconnectorRoutetableRouteTypeArgs
Route. The structure of route block is documented below.
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.
SubscriptionId string
Subscription ID of Azure route table.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Route table name.
objectSystemSdnconnectorRoutetableId String
an identifier for the resource with format {{name}}.
resourceGroup String
Resource group of Azure route table.
routes List<ObjectSystemSdnconnectorRoutetableRoute>
Route. The structure of route block is documented below.
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.
subscriptionId String
Subscription ID of Azure route table.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name string
Route table name.
objectSystemSdnconnectorRoutetableId string
an identifier for the resource with format {{name}}.
resourceGroup string
Resource group of Azure route table.
routes ObjectSystemSdnconnectorRoutetableRoute[]
Route. The structure of route block is documented below.
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.
subscriptionId string
Subscription ID of Azure route table.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name str
Route table name.
object_system_sdnconnector_routetable_id str
an identifier for the resource with format {{name}}.
resource_group str
Resource group of Azure route table.
routes Sequence[ObjectSystemSdnconnectorRoutetableRouteArgs]
Route. The structure of route block is documented below.
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.
subscription_id str
Subscription ID of Azure route table.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Route table name.
objectSystemSdnconnectorRoutetableId String
an identifier for the resource with format {{name}}.
resourceGroup String
Resource group of Azure route table.
routes List<Property Map>
Route. The structure of route block is documented below.
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.
subscriptionId String
Subscription ID of Azure route table.

Supporting Types

ObjectSystemSdnconnectorRoutetableRoute
, ObjectSystemSdnconnectorRoutetableRouteArgs

Name string
Route name.
NextHop string
Next hop address.
Name string
Route name.
NextHop string
Next hop address.
name String
Route name.
nextHop String
Next hop address.
name string
Route name.
nextHop string
Next hop address.
name str
Route name.
next_hop str
Next hop address.
name String
Route name.
nextHop String
Next hop address.

Import

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

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectSystemSdnconnectorRoutetable:ObjectSystemSdnconnectorRoutetable 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.