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

fortimanager.ObjectSystemSdnconnectorNic

Explore with Pulumi AI

Configure Azure network interface.

This resource is a sub resource for variable nic 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.

  • ip: fortimanager.ObjectSystemSdnconnectorNicIp

Create ObjectSystemSdnconnectorNic Resource

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

Constructor syntax

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

@overload
def ObjectSystemSdnconnectorNic(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                sdn_connector: Optional[str] = None,
                                adom: Optional[str] = None,
                                dynamic_sort_subtable: Optional[str] = None,
                                ips: Optional[Sequence[ObjectSystemSdnconnectorNicIpArgs]] = None,
                                name: Optional[str] = None,
                                object_system_sdnconnector_nic_id: Optional[str] = None,
                                peer_nic: Optional[str] = None,
                                scopetype: Optional[str] = None)
func NewObjectSystemSdnconnectorNic(ctx *Context, name string, args ObjectSystemSdnconnectorNicArgs, opts ...ResourceOption) (*ObjectSystemSdnconnectorNic, error)
public ObjectSystemSdnconnectorNic(string name, ObjectSystemSdnconnectorNicArgs args, CustomResourceOptions? opts = null)
public ObjectSystemSdnconnectorNic(String name, ObjectSystemSdnconnectorNicArgs args)
public ObjectSystemSdnconnectorNic(String name, ObjectSystemSdnconnectorNicArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSystemSdnconnectorNic
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. ObjectSystemSdnconnectorNicArgs
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. ObjectSystemSdnconnectorNicInitArgs
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. ObjectSystemSdnconnectorNicArgs
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. ObjectSystemSdnconnectorNicArgs
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. ObjectSystemSdnconnectorNicArgs
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 objectSystemSdnconnectorNicResource = new Fortimanager.ObjectSystemSdnconnectorNic("objectSystemSdnconnectorNicResource", new()
{
    SdnConnector = "string",
    Adom = "string",
    DynamicSortSubtable = "string",
    Ips = new[]
    {
        new Fortimanager.Inputs.ObjectSystemSdnconnectorNicIpArgs
        {
            Name = "string",
            PrivateIp = "string",
            PublicIp = "string",
            ResourceGroup = "string",
        },
    },
    Name = "string",
    ObjectSystemSdnconnectorNicId = "string",
    PeerNic = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectSystemSdnconnectorNic(ctx, "objectSystemSdnconnectorNicResource", &fortimanager.ObjectSystemSdnconnectorNicArgs{
SdnConnector: pulumi.String("string"),
Adom: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
Ips: .ObjectSystemSdnconnectorNicIpTypeArray{
&.ObjectSystemSdnconnectorNicIpTypeArgs{
Name: pulumi.String("string"),
PrivateIp: pulumi.String("string"),
PublicIp: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
ObjectSystemSdnconnectorNicId: pulumi.String("string"),
PeerNic: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectSystemSdnconnectorNicResource = new ObjectSystemSdnconnectorNic("objectSystemSdnconnectorNicResource", ObjectSystemSdnconnectorNicArgs.builder()
    .sdnConnector("string")
    .adom("string")
    .dynamicSortSubtable("string")
    .ips(ObjectSystemSdnconnectorNicIpArgs.builder()
        .name("string")
        .privateIp("string")
        .publicIp("string")
        .resourceGroup("string")
        .build())
    .name("string")
    .objectSystemSdnconnectorNicId("string")
    .peerNic("string")
    .scopetype("string")
    .build());
Copy
object_system_sdnconnector_nic_resource = fortimanager.ObjectSystemSdnconnectorNic("objectSystemSdnconnectorNicResource",
    sdn_connector="string",
    adom="string",
    dynamic_sort_subtable="string",
    ips=[{
        "name": "string",
        "private_ip": "string",
        "public_ip": "string",
        "resource_group": "string",
    }],
    name="string",
    object_system_sdnconnector_nic_id="string",
    peer_nic="string",
    scopetype="string")
Copy
const objectSystemSdnconnectorNicResource = new fortimanager.ObjectSystemSdnconnectorNic("objectSystemSdnconnectorNicResource", {
    sdnConnector: "string",
    adom: "string",
    dynamicSortSubtable: "string",
    ips: [{
        name: "string",
        privateIp: "string",
        publicIp: "string",
        resourceGroup: "string",
    }],
    name: "string",
    objectSystemSdnconnectorNicId: "string",
    peerNic: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectSystemSdnconnectorNic
properties:
    adom: string
    dynamicSortSubtable: string
    ips:
        - name: string
          privateIp: string
          publicIp: string
          resourceGroup: string
    name: string
    objectSystemSdnconnectorNicId: string
    peerNic: string
    scopetype: string
    sdnConnector: string
Copy

ObjectSystemSdnconnectorNic 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 ObjectSystemSdnconnectorNic 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.
Ips List<ObjectSystemSdnconnectorNicIp>
Ip. The structure of ip block is documented below.
Name string
Network interface name.
ObjectSystemSdnconnectorNicId string
an identifier for the resource with format {{name}}.
PeerNic string
Peer network interface 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.
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.
Ips []ObjectSystemSdnconnectorNicIpTypeArgs
Ip. The structure of ip block is documented below.
Name string
Network interface name.
ObjectSystemSdnconnectorNicId string
an identifier for the resource with format {{name}}.
PeerNic string
Peer network interface 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.
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.
ips List<ObjectSystemSdnconnectorNicIp>
Ip. The structure of ip block is documented below.
name String
Network interface name.
objectSystemSdnconnectorNicId String
an identifier for the resource with format {{name}}.
peerNic String
Peer network interface 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.
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.
ips ObjectSystemSdnconnectorNicIp[]
Ip. The structure of ip block is documented below.
name string
Network interface name.
objectSystemSdnconnectorNicId string
an identifier for the resource with format {{name}}.
peerNic string
Peer network interface 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.
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.
ips Sequence[ObjectSystemSdnconnectorNicIpArgs]
Ip. The structure of ip block is documented below.
name str
Network interface name.
object_system_sdnconnector_nic_id str
an identifier for the resource with format {{name}}.
peer_nic str
Peer network interface 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.
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.
ips List<Property Map>
Ip. The structure of ip block is documented below.
name String
Network interface name.
objectSystemSdnconnectorNicId String
an identifier for the resource with format {{name}}.
peerNic String
Peer network interface 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 ObjectSystemSdnconnectorNic 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 ObjectSystemSdnconnectorNic Resource

Get an existing ObjectSystemSdnconnectorNic 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?: ObjectSystemSdnconnectorNicState, opts?: CustomResourceOptions): ObjectSystemSdnconnectorNic
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        ips: Optional[Sequence[ObjectSystemSdnconnectorNicIpArgs]] = None,
        name: Optional[str] = None,
        object_system_sdnconnector_nic_id: Optional[str] = None,
        peer_nic: Optional[str] = None,
        scopetype: Optional[str] = None,
        sdn_connector: Optional[str] = None) -> ObjectSystemSdnconnectorNic
func GetObjectSystemSdnconnectorNic(ctx *Context, name string, id IDInput, state *ObjectSystemSdnconnectorNicState, opts ...ResourceOption) (*ObjectSystemSdnconnectorNic, error)
public static ObjectSystemSdnconnectorNic Get(string name, Input<string> id, ObjectSystemSdnconnectorNicState? state, CustomResourceOptions? opts = null)
public static ObjectSystemSdnconnectorNic get(String name, Output<String> id, ObjectSystemSdnconnectorNicState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSystemSdnconnectorNic    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.
Ips List<ObjectSystemSdnconnectorNicIp>
Ip. The structure of ip block is documented below.
Name string
Network interface name.
ObjectSystemSdnconnectorNicId string
an identifier for the resource with format {{name}}.
PeerNic string
Peer network interface 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.
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.
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.
Ips []ObjectSystemSdnconnectorNicIpTypeArgs
Ip. The structure of ip block is documented below.
Name string
Network interface name.
ObjectSystemSdnconnectorNicId string
an identifier for the resource with format {{name}}.
PeerNic string
Peer network interface 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.
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.
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.
ips List<ObjectSystemSdnconnectorNicIp>
Ip. The structure of ip block is documented below.
name String
Network interface name.
objectSystemSdnconnectorNicId String
an identifier for the resource with format {{name}}.
peerNic String
Peer network interface 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.
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.
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.
ips ObjectSystemSdnconnectorNicIp[]
Ip. The structure of ip block is documented below.
name string
Network interface name.
objectSystemSdnconnectorNicId string
an identifier for the resource with format {{name}}.
peerNic string
Peer network interface 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.
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.
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.
ips Sequence[ObjectSystemSdnconnectorNicIpArgs]
Ip. The structure of ip block is documented below.
name str
Network interface name.
object_system_sdnconnector_nic_id str
an identifier for the resource with format {{name}}.
peer_nic str
Peer network interface 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.
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.
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.
ips List<Property Map>
Ip. The structure of ip block is documented below.
name String
Network interface name.
objectSystemSdnconnectorNicId String
an identifier for the resource with format {{name}}.
peerNic String
Peer network interface 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.
sdnConnector String
Sdn Connector.

Supporting Types

ObjectSystemSdnconnectorNicIp
, ObjectSystemSdnconnectorNicIpArgs

Name string
IP configuration name.
PrivateIp string
Private IP address.
PublicIp string
Public IP name.
ResourceGroup string
Resource group of Azure public IP.
Name string
IP configuration name.
PrivateIp string
Private IP address.
PublicIp string
Public IP name.
ResourceGroup string
Resource group of Azure public IP.
name String
IP configuration name.
privateIp String
Private IP address.
publicIp String
Public IP name.
resourceGroup String
Resource group of Azure public IP.
name string
IP configuration name.
privateIp string
Private IP address.
publicIp string
Public IP name.
resourceGroup string
Resource group of Azure public IP.
name str
IP configuration name.
private_ip str
Private IP address.
public_ip str
Public IP name.
resource_group str
Resource group of Azure public IP.
name String
IP configuration name.
privateIp String
Private IP address.
publicIp String
Public IP name.
resourceGroup String
Resource group of Azure public IP.

Import

ObjectSystem SdnConnectorNic 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/objectSystemSdnconnectorNic:ObjectSystemSdnconnectorNic 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.