fortimanager.ObjectSwitchcontrollerFortilinksettingsNacports
NAC specific configuration.
This resource is a sub resource for variable
nac_portsof resourcefortimanager.ObjectSwitchcontrollerFortilinksettings. Conflict and overwrite may occur if use both of them.
Create ObjectSwitchcontrollerFortilinksettingsNacports Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectSwitchcontrollerFortilinksettingsNacports(name: string, args: ObjectSwitchcontrollerFortilinksettingsNacportsArgs, opts?: CustomResourceOptions);@overload
def ObjectSwitchcontrollerFortilinksettingsNacports(resource_name: str,
                                                    args: ObjectSwitchcontrollerFortilinksettingsNacportsArgs,
                                                    opts: Optional[ResourceOptions] = None)
@overload
def ObjectSwitchcontrollerFortilinksettingsNacports(resource_name: str,
                                                    opts: Optional[ResourceOptions] = None,
                                                    fortilink_settings: Optional[str] = None,
                                                    adom: Optional[str] = None,
                                                    bounce_nac_port: Optional[str] = None,
                                                    lan_segment: Optional[str] = None,
                                                    member_change: Optional[float] = None,
                                                    nac_lan_interface: Optional[str] = None,
                                                    nac_segment_vlans: Optional[Sequence[str]] = None,
                                                    object_switchcontroller_fortilinksettings_nacports_id: Optional[str] = None,
                                                    onboarding_vlan: Optional[str] = None,
                                                    parent_key: Optional[str] = None,
                                                    scopetype: Optional[str] = None)func NewObjectSwitchcontrollerFortilinksettingsNacports(ctx *Context, name string, args ObjectSwitchcontrollerFortilinksettingsNacportsArgs, opts ...ResourceOption) (*ObjectSwitchcontrollerFortilinksettingsNacports, error)public ObjectSwitchcontrollerFortilinksettingsNacports(string name, ObjectSwitchcontrollerFortilinksettingsNacportsArgs args, CustomResourceOptions? opts = null)
public ObjectSwitchcontrollerFortilinksettingsNacports(String name, ObjectSwitchcontrollerFortilinksettingsNacportsArgs args)
public ObjectSwitchcontrollerFortilinksettingsNacports(String name, ObjectSwitchcontrollerFortilinksettingsNacportsArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSwitchcontrollerFortilinksettingsNacports
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 ObjectSwitchcontrollerFortilinksettingsNacportsArgs
- 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 ObjectSwitchcontrollerFortilinksettingsNacportsArgs
- 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 ObjectSwitchcontrollerFortilinksettingsNacportsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectSwitchcontrollerFortilinksettingsNacportsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectSwitchcontrollerFortilinksettingsNacportsArgs
- 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 objectSwitchcontrollerFortilinksettingsNacportsResource = new Fortimanager.ObjectSwitchcontrollerFortilinksettingsNacports("objectSwitchcontrollerFortilinksettingsNacportsResource", new()
{
    FortilinkSettings = "string",
    Adom = "string",
    BounceNacPort = "string",
    LanSegment = "string",
    MemberChange = 0,
    NacLanInterface = "string",
    NacSegmentVlans = new[]
    {
        "string",
    },
    ObjectSwitchcontrollerFortilinksettingsNacportsId = "string",
    OnboardingVlan = "string",
    ParentKey = "string",
    Scopetype = "string",
});
example, err := fortimanager.NewObjectSwitchcontrollerFortilinksettingsNacports(ctx, "objectSwitchcontrollerFortilinksettingsNacportsResource", &fortimanager.ObjectSwitchcontrollerFortilinksettingsNacportsArgs{
	FortilinkSettings: pulumi.String("string"),
	Adom:              pulumi.String("string"),
	BounceNacPort:     pulumi.String("string"),
	LanSegment:        pulumi.String("string"),
	MemberChange:      pulumi.Float64(0),
	NacLanInterface:   pulumi.String("string"),
	NacSegmentVlans: pulumi.StringArray{
		pulumi.String("string"),
	},
	ObjectSwitchcontrollerFortilinksettingsNacportsId: pulumi.String("string"),
	OnboardingVlan: pulumi.String("string"),
	ParentKey:      pulumi.String("string"),
	Scopetype:      pulumi.String("string"),
})
var objectSwitchcontrollerFortilinksettingsNacportsResource = new ObjectSwitchcontrollerFortilinksettingsNacports("objectSwitchcontrollerFortilinksettingsNacportsResource", ObjectSwitchcontrollerFortilinksettingsNacportsArgs.builder()
    .fortilinkSettings("string")
    .adom("string")
    .bounceNacPort("string")
    .lanSegment("string")
    .memberChange(0.0)
    .nacLanInterface("string")
    .nacSegmentVlans("string")
    .objectSwitchcontrollerFortilinksettingsNacportsId("string")
    .onboardingVlan("string")
    .parentKey("string")
    .scopetype("string")
    .build());
object_switchcontroller_fortilinksettings_nacports_resource = fortimanager.ObjectSwitchcontrollerFortilinksettingsNacports("objectSwitchcontrollerFortilinksettingsNacportsResource",
    fortilink_settings="string",
    adom="string",
    bounce_nac_port="string",
    lan_segment="string",
    member_change=0,
    nac_lan_interface="string",
    nac_segment_vlans=["string"],
    object_switchcontroller_fortilinksettings_nacports_id="string",
    onboarding_vlan="string",
    parent_key="string",
    scopetype="string")
const objectSwitchcontrollerFortilinksettingsNacportsResource = new fortimanager.ObjectSwitchcontrollerFortilinksettingsNacports("objectSwitchcontrollerFortilinksettingsNacportsResource", {
    fortilinkSettings: "string",
    adom: "string",
    bounceNacPort: "string",
    lanSegment: "string",
    memberChange: 0,
    nacLanInterface: "string",
    nacSegmentVlans: ["string"],
    objectSwitchcontrollerFortilinksettingsNacportsId: "string",
    onboardingVlan: "string",
    parentKey: "string",
    scopetype: "string",
});
type: fortimanager:ObjectSwitchcontrollerFortilinksettingsNacports
properties:
    adom: string
    bounceNacPort: string
    fortilinkSettings: string
    lanSegment: string
    memberChange: 0
    nacLanInterface: string
    nacSegmentVlans:
        - string
    objectSwitchcontrollerFortilinksettingsNacportsId: string
    onboardingVlan: string
    parentKey: string
    scopetype: string
ObjectSwitchcontrollerFortilinksettingsNacports 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 ObjectSwitchcontrollerFortilinksettingsNacports resource accepts the following input properties:
- FortilinkSettings string
- Fortilink Settings.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- BounceNac stringPort 
- Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device. Valid values: disable,enable.
- LanSegment string
- Enable/disable LAN segment feature on the FortiLink interface. Valid values: disabled,enabled.
- MemberChange double
- Member-Change.
- NacLan stringInterface 
- Configure NAC LAN interface.
- NacSegment List<string>Vlans 
- Configure NAC segment VLANs.
- ObjectSwitchcontroller stringFortilinksettings Nacports Id 
- an identifier for the resource.
- OnboardingVlan string
- Default NAC Onboarding VLAN when NAC devices are discovered.
- ParentKey string
- Parent-Key.
- 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.
- FortilinkSettings string
- Fortilink Settings.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- BounceNac stringPort 
- Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device. Valid values: disable,enable.
- LanSegment string
- Enable/disable LAN segment feature on the FortiLink interface. Valid values: disabled,enabled.
- MemberChange float64
- Member-Change.
- NacLan stringInterface 
- Configure NAC LAN interface.
- NacSegment []stringVlans 
- Configure NAC segment VLANs.
- ObjectSwitchcontroller stringFortilinksettings Nacports Id 
- an identifier for the resource.
- OnboardingVlan string
- Default NAC Onboarding VLAN when NAC devices are discovered.
- ParentKey string
- Parent-Key.
- 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.
- fortilinkSettings String
- Fortilink Settings.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- bounceNac StringPort 
- Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device. Valid values: disable,enable.
- lanSegment String
- Enable/disable LAN segment feature on the FortiLink interface. Valid values: disabled,enabled.
- memberChange Double
- Member-Change.
- nacLan StringInterface 
- Configure NAC LAN interface.
- nacSegment List<String>Vlans 
- Configure NAC segment VLANs.
- objectSwitchcontroller StringFortilinksettings Nacports Id 
- an identifier for the resource.
- onboardingVlan String
- Default NAC Onboarding VLAN when NAC devices are discovered.
- parentKey String
- Parent-Key.
- 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.
- fortilinkSettings string
- Fortilink Settings.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- bounceNac stringPort 
- Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device. Valid values: disable,enable.
- lanSegment string
- Enable/disable LAN segment feature on the FortiLink interface. Valid values: disabled,enabled.
- memberChange number
- Member-Change.
- nacLan stringInterface 
- Configure NAC LAN interface.
- nacSegment string[]Vlans 
- Configure NAC segment VLANs.
- objectSwitchcontroller stringFortilinksettings Nacports Id 
- an identifier for the resource.
- onboardingVlan string
- Default NAC Onboarding VLAN when NAC devices are discovered.
- parentKey string
- Parent-Key.
- 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.
- fortilink_settings str
- Fortilink Settings.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- bounce_nac_ strport 
- Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device. Valid values: disable,enable.
- lan_segment str
- Enable/disable LAN segment feature on the FortiLink interface. Valid values: disabled,enabled.
- member_change float
- Member-Change.
- nac_lan_ strinterface 
- Configure NAC LAN interface.
- nac_segment_ Sequence[str]vlans 
- Configure NAC segment VLANs.
- object_switchcontroller_ strfortilinksettings_ nacports_ id 
- an identifier for the resource.
- onboarding_vlan str
- Default NAC Onboarding VLAN when NAC devices are discovered.
- parent_key str
- Parent-Key.
- 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.
- fortilinkSettings String
- Fortilink Settings.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- bounceNac StringPort 
- Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device. Valid values: disable,enable.
- lanSegment String
- Enable/disable LAN segment feature on the FortiLink interface. Valid values: disabled,enabled.
- memberChange Number
- Member-Change.
- nacLan StringInterface 
- Configure NAC LAN interface.
- nacSegment List<String>Vlans 
- Configure NAC segment VLANs.
- objectSwitchcontroller StringFortilinksettings Nacports Id 
- an identifier for the resource.
- onboardingVlan String
- Default NAC Onboarding VLAN when NAC devices are discovered.
- parentKey String
- Parent-Key.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectSwitchcontrollerFortilinksettingsNacports 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 ObjectSwitchcontrollerFortilinksettingsNacports Resource
Get an existing ObjectSwitchcontrollerFortilinksettingsNacports 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?: ObjectSwitchcontrollerFortilinksettingsNacportsState, opts?: CustomResourceOptions): ObjectSwitchcontrollerFortilinksettingsNacports@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        bounce_nac_port: Optional[str] = None,
        fortilink_settings: Optional[str] = None,
        lan_segment: Optional[str] = None,
        member_change: Optional[float] = None,
        nac_lan_interface: Optional[str] = None,
        nac_segment_vlans: Optional[Sequence[str]] = None,
        object_switchcontroller_fortilinksettings_nacports_id: Optional[str] = None,
        onboarding_vlan: Optional[str] = None,
        parent_key: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectSwitchcontrollerFortilinksettingsNacportsfunc GetObjectSwitchcontrollerFortilinksettingsNacports(ctx *Context, name string, id IDInput, state *ObjectSwitchcontrollerFortilinksettingsNacportsState, opts ...ResourceOption) (*ObjectSwitchcontrollerFortilinksettingsNacports, error)public static ObjectSwitchcontrollerFortilinksettingsNacports Get(string name, Input<string> id, ObjectSwitchcontrollerFortilinksettingsNacportsState? state, CustomResourceOptions? opts = null)public static ObjectSwitchcontrollerFortilinksettingsNacports get(String name, Output<String> id, ObjectSwitchcontrollerFortilinksettingsNacportsState state, CustomResourceOptions options)resources:  _:    type: fortimanager:ObjectSwitchcontrollerFortilinksettingsNacports    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.
- BounceNac stringPort 
- Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device. Valid values: disable,enable.
- FortilinkSettings string
- Fortilink Settings.
- LanSegment string
- Enable/disable LAN segment feature on the FortiLink interface. Valid values: disabled,enabled.
- MemberChange double
- Member-Change.
- NacLan stringInterface 
- Configure NAC LAN interface.
- NacSegment List<string>Vlans 
- Configure NAC segment VLANs.
- ObjectSwitchcontroller stringFortilinksettings Nacports Id 
- an identifier for the resource.
- OnboardingVlan string
- Default NAC Onboarding VLAN when NAC devices are discovered.
- ParentKey string
- Parent-Key.
- 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.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- BounceNac stringPort 
- Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device. Valid values: disable,enable.
- FortilinkSettings string
- Fortilink Settings.
- LanSegment string
- Enable/disable LAN segment feature on the FortiLink interface. Valid values: disabled,enabled.
- MemberChange float64
- Member-Change.
- NacLan stringInterface 
- Configure NAC LAN interface.
- NacSegment []stringVlans 
- Configure NAC segment VLANs.
- ObjectSwitchcontroller stringFortilinksettings Nacports Id 
- an identifier for the resource.
- OnboardingVlan string
- Default NAC Onboarding VLAN when NAC devices are discovered.
- ParentKey string
- Parent-Key.
- 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.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- bounceNac StringPort 
- Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device. Valid values: disable,enable.
- fortilinkSettings String
- Fortilink Settings.
- lanSegment String
- Enable/disable LAN segment feature on the FortiLink interface. Valid values: disabled,enabled.
- memberChange Double
- Member-Change.
- nacLan StringInterface 
- Configure NAC LAN interface.
- nacSegment List<String>Vlans 
- Configure NAC segment VLANs.
- objectSwitchcontroller StringFortilinksettings Nacports Id 
- an identifier for the resource.
- onboardingVlan String
- Default NAC Onboarding VLAN when NAC devices are discovered.
- parentKey String
- Parent-Key.
- 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.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- bounceNac stringPort 
- Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device. Valid values: disable,enable.
- fortilinkSettings string
- Fortilink Settings.
- lanSegment string
- Enable/disable LAN segment feature on the FortiLink interface. Valid values: disabled,enabled.
- memberChange number
- Member-Change.
- nacLan stringInterface 
- Configure NAC LAN interface.
- nacSegment string[]Vlans 
- Configure NAC segment VLANs.
- objectSwitchcontroller stringFortilinksettings Nacports Id 
- an identifier for the resource.
- onboardingVlan string
- Default NAC Onboarding VLAN when NAC devices are discovered.
- parentKey string
- Parent-Key.
- 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.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- bounce_nac_ strport 
- Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device. Valid values: disable,enable.
- fortilink_settings str
- Fortilink Settings.
- lan_segment str
- Enable/disable LAN segment feature on the FortiLink interface. Valid values: disabled,enabled.
- member_change float
- Member-Change.
- nac_lan_ strinterface 
- Configure NAC LAN interface.
- nac_segment_ Sequence[str]vlans 
- Configure NAC segment VLANs.
- object_switchcontroller_ strfortilinksettings_ nacports_ id 
- an identifier for the resource.
- onboarding_vlan str
- Default NAC Onboarding VLAN when NAC devices are discovered.
- parent_key str
- Parent-Key.
- 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.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- bounceNac StringPort 
- Enable/disable bouncing (administratively bring the link down, up) of a switch port when NAC mode is configured on the port. Helps to re-initiate the DHCP process for a device. Valid values: disable,enable.
- fortilinkSettings String
- Fortilink Settings.
- lanSegment String
- Enable/disable LAN segment feature on the FortiLink interface. Valid values: disabled,enabled.
- memberChange Number
- Member-Change.
- nacLan StringInterface 
- Configure NAC LAN interface.
- nacSegment List<String>Vlans 
- Configure NAC segment VLANs.
- objectSwitchcontroller StringFortilinksettings Nacports Id 
- an identifier for the resource.
- onboardingVlan String
- Default NAC Onboarding VLAN when NAC devices are discovered.
- parentKey String
- Parent-Key.
- 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.
Import
ObjectSwitchController FortilinkSettingsNacPorts can be imported using any of these accepted formats:
Set import_options = [“fortilink_settings=YOUR_VALUE”] in the provider section.
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectSwitchcontrollerFortilinksettingsNacports:ObjectSwitchcontrollerFortilinksettingsNacports labelname ObjectSwitchControllerFortilinkSettingsNacPorts
$ 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.
