fortimanager.ObjectSystemSdnconnectorRoutetable
Configure Azure route table.
This resource is a sub resource for variable
route_tableof resourcefortimanager.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 string
- The unique name of the resource.
- args ObjectSystemSdnconnectorRoutetableArgs
- 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 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 string
- The unique name of the resource.
- args ObjectSystemSdnconnectorRoutetableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectSystemSdnconnectorRoutetableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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: fortimanager.ObjectSystemSdnconnectorRoutetableRouteTypeArray{
		&fortimanager.ObjectSystemSdnconnectorRoutetableRouteTypeArgs{
			Name:    pulumi.String("string"),
			NextHop: pulumi.String("string"),
		},
	},
	Scopetype:      pulumi.String("string"),
	SubscriptionId: pulumi.String("string"),
})
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());
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")
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",
});
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
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 string
- Sdn Connector.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- DynamicSort stringSubtable 
- 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.
- ObjectSystem stringSdnconnector Routetable Id 
- an identifier for the resource with format {{name}}.
- ResourceGroup string
- Resource group of Azure route table.
- Routes
List<ObjectSystem Sdnconnector Routetable Route> 
- Route. The structure of routeblock is documented below.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- SubscriptionId string
- Subscription ID of Azure route table.
- SdnConnector string
- Sdn Connector.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- DynamicSort stringSubtable 
- 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.
- ObjectSystem stringSdnconnector Routetable Id 
- an identifier for the resource with format {{name}}.
- ResourceGroup string
- Resource group of Azure route table.
- Routes
[]ObjectSystem Sdnconnector Routetable Route Type Args 
- Route. The structure of routeblock is documented below.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- SubscriptionId string
- Subscription ID of Azure route table.
- sdnConnector String
- Sdn Connector.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- dynamicSort StringSubtable 
- 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.
- objectSystem StringSdnconnector Routetable Id 
- an identifier for the resource with format {{name}}.
- resourceGroup String
- Resource group of Azure route table.
- routes
List<ObjectSystem Sdnconnector Routetable Route> 
- Route. The structure of routeblock is documented below.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- subscriptionId String
- Subscription ID of Azure route table.
- sdnConnector string
- Sdn Connector.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- dynamicSort stringSubtable 
- 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.
- objectSystem stringSdnconnector Routetable Id 
- an identifier for the resource with format {{name}}.
- resourceGroup string
- Resource group of Azure route table.
- routes
ObjectSystem Sdnconnector Routetable Route[] 
- Route. The structure of routeblock is documented below.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- subscriptionId string
- Subscription ID of Azure route table.
- sdn_connector str
- Sdn Connector.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- dynamic_sort_ strsubtable 
- 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_ strsdnconnector_ routetable_ id 
- an identifier for the resource with format {{name}}.
- resource_group str
- Resource group of Azure route table.
- routes
Sequence[ObjectSystem Sdnconnector Routetable Route Args] 
- Route. The structure of routeblock is documented below.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- subscription_id str
- Subscription ID of Azure route table.
- sdnConnector String
- Sdn Connector.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- dynamicSort StringSubtable 
- 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.
- objectSystem StringSdnconnector Routetable Id 
- an identifier for the resource with format {{name}}.
- resourceGroup String
- Resource group of Azure route table.
- routes List<Property Map>
- Route. The structure of routeblock is documented below.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- 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) -> ObjectSystemSdnconnectorRoutetablefunc 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
- 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.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- DynamicSort stringSubtable 
- 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.
- ObjectSystem stringSdnconnector Routetable Id 
- an identifier for the resource with format {{name}}.
- ResourceGroup string
- Resource group of Azure route table.
- Routes
List<ObjectSystem Sdnconnector Routetable Route> 
- Route. The structure of routeblock is documented below.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- SdnConnector string
- Sdn Connector.
- SubscriptionId string
- Subscription ID of Azure route table.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- DynamicSort stringSubtable 
- 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.
- ObjectSystem stringSdnconnector Routetable Id 
- an identifier for the resource with format {{name}}.
- ResourceGroup string
- Resource group of Azure route table.
- Routes
[]ObjectSystem Sdnconnector Routetable Route Type Args 
- Route. The structure of routeblock is documented below.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- SdnConnector string
- Sdn Connector.
- SubscriptionId string
- Subscription ID of Azure route table.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- dynamicSort StringSubtable 
- 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.
- objectSystem StringSdnconnector Routetable Id 
- an identifier for the resource with format {{name}}.
- resourceGroup String
- Resource group of Azure route table.
- routes
List<ObjectSystem Sdnconnector Routetable Route> 
- Route. The structure of routeblock is documented below.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sdnConnector String
- Sdn Connector.
- subscriptionId String
- Subscription ID of Azure route table.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- dynamicSort stringSubtable 
- 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.
- objectSystem stringSdnconnector Routetable Id 
- an identifier for the resource with format {{name}}.
- resourceGroup string
- Resource group of Azure route table.
- routes
ObjectSystem Sdnconnector Routetable Route[] 
- Route. The structure of routeblock is documented below.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sdnConnector string
- Sdn Connector.
- subscriptionId string
- Subscription ID of Azure route table.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- dynamic_sort_ strsubtable 
- 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_ strsdnconnector_ routetable_ id 
- an identifier for the resource with format {{name}}.
- resource_group str
- Resource group of Azure route table.
- routes
Sequence[ObjectSystem Sdnconnector Routetable Route Args] 
- Route. The structure of routeblock is documented below.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sdn_connector str
- Sdn Connector.
- subscription_id str
- Subscription ID of Azure route table.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- dynamicSort StringSubtable 
- 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.
- objectSystem StringSdnconnector Routetable Id 
- an identifier for the resource with format {{name}}.
- resourceGroup String
- Resource group of Azure route table.
- routes List<Property Map>
- Route. The structure of routeblock is documented below.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sdnConnector String
- Sdn Connector.
- subscriptionId String
- Subscription ID of Azure route table.
Supporting Types
ObjectSystemSdnconnectorRoutetableRoute, ObjectSystemSdnconnectorRoutetableRouteArgs          
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}}
$ 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 fortimanagerTerraform Provider.
