1. Registry
  2. Packages
  3. Fortimanager Provider
  4. API Docs
  5. ObjectSwitchcontrollerSecuritypolicyAdmin
Viewing docs for fortimanager 1.18.0
published on Friday, Jul 31, 2026 by fortinetdev
Viewing docs for fortimanager 1.18.0
published on Friday, Jul 31, 2026 by fortinetdev

    Configure fortiswitch’s admin security-policy.

    Create ObjectSwitchcontrollerSecuritypolicyAdmin Resource

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

    Constructor syntax

    new ObjectSwitchcontrollerSecuritypolicyAdmin(name: string, args?: ObjectSwitchcontrollerSecuritypolicyAdminArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectSwitchcontrollerSecuritypolicyAdmin(resource_name: str,
                                                  args: Optional[ObjectSwitchcontrollerSecuritypolicyAdminArgs] = None,
                                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectSwitchcontrollerSecuritypolicyAdmin(resource_name: str,
                                                  opts: Optional[ResourceOptions] = None,
                                                  adom: Optional[str] = None,
                                                  auto: Optional[str] = None,
                                                  ip6_trusthost1: Optional[str] = None,
                                                  ip6_trusthost10: Optional[str] = None,
                                                  ip6_trusthost2: Optional[str] = None,
                                                  ip6_trusthost3: Optional[str] = None,
                                                  ip6_trusthost4: Optional[str] = None,
                                                  ip6_trusthost5: Optional[str] = None,
                                                  ip6_trusthost6: Optional[str] = None,
                                                  ip6_trusthost7: Optional[str] = None,
                                                  ip6_trusthost8: Optional[str] = None,
                                                  ip6_trusthost9: Optional[str] = None,
                                                  name: Optional[str] = None,
                                                  object_switchcontroller_securitypolicy_admin_id: Optional[str] = None,
                                                  scopetype: Optional[str] = None,
                                                  trusthost10s: Optional[Sequence[str]] = None,
                                                  trusthost1s: Optional[Sequence[str]] = None,
                                                  trusthost2s: Optional[Sequence[str]] = None,
                                                  trusthost3s: Optional[Sequence[str]] = None,
                                                  trusthost4s: Optional[Sequence[str]] = None,
                                                  trusthost5s: Optional[Sequence[str]] = None,
                                                  trusthost6s: Optional[Sequence[str]] = None,
                                                  trusthost7s: Optional[Sequence[str]] = None,
                                                  trusthost8s: Optional[Sequence[str]] = None,
                                                  trusthost9s: Optional[Sequence[str]] = None,
                                                  update_if_exist: Optional[bool] = None)
    func NewObjectSwitchcontrollerSecuritypolicyAdmin(ctx *Context, name string, args *ObjectSwitchcontrollerSecuritypolicyAdminArgs, opts ...ResourceOption) (*ObjectSwitchcontrollerSecuritypolicyAdmin, error)
    public ObjectSwitchcontrollerSecuritypolicyAdmin(string name, ObjectSwitchcontrollerSecuritypolicyAdminArgs? args = null, CustomResourceOptions? opts = null)
    public ObjectSwitchcontrollerSecuritypolicyAdmin(String name, ObjectSwitchcontrollerSecuritypolicyAdminArgs args)
    public ObjectSwitchcontrollerSecuritypolicyAdmin(String name, ObjectSwitchcontrollerSecuritypolicyAdminArgs args, CustomResourceOptions options)
    
    type: fortimanager:ObjectSwitchcontrollerSecuritypolicyAdmin
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "fortimanager_object_switchcontroller_securitypolicy_admin" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ObjectSwitchcontrollerSecuritypolicyAdminArgs
    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 ObjectSwitchcontrollerSecuritypolicyAdminArgs
    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 ObjectSwitchcontrollerSecuritypolicyAdminArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectSwitchcontrollerSecuritypolicyAdminArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectSwitchcontrollerSecuritypolicyAdminArgs
    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 objectSwitchcontrollerSecuritypolicyAdminResource = new Fortimanager.ObjectSwitchcontrollerSecuritypolicyAdmin("objectSwitchcontrollerSecuritypolicyAdminResource", new()
    {
        Adom = "string",
        Auto = "string",
        Ip6Trusthost1 = "string",
        Ip6Trusthost10 = "string",
        Ip6Trusthost2 = "string",
        Ip6Trusthost3 = "string",
        Ip6Trusthost4 = "string",
        Ip6Trusthost5 = "string",
        Ip6Trusthost6 = "string",
        Ip6Trusthost7 = "string",
        Ip6Trusthost8 = "string",
        Ip6Trusthost9 = "string",
        Name = "string",
        ObjectSwitchcontrollerSecuritypolicyAdminId = "string",
        Scopetype = "string",
        Trusthost10s = new[]
        {
            "string",
        },
        Trusthost1s = new[]
        {
            "string",
        },
        Trusthost2s = new[]
        {
            "string",
        },
        Trusthost3s = new[]
        {
            "string",
        },
        Trusthost4s = new[]
        {
            "string",
        },
        Trusthost5s = new[]
        {
            "string",
        },
        Trusthost6s = new[]
        {
            "string",
        },
        Trusthost7s = new[]
        {
            "string",
        },
        Trusthost8s = new[]
        {
            "string",
        },
        Trusthost9s = new[]
        {
            "string",
        },
        UpdateIfExist = false,
    });
    
    example, err := fortimanager.NewObjectSwitchcontrollerSecuritypolicyAdmin(ctx, "objectSwitchcontrollerSecuritypolicyAdminResource", &fortimanager.ObjectSwitchcontrollerSecuritypolicyAdminArgs{
    	Adom:           pulumi.String("string"),
    	Auto:           pulumi.String("string"),
    	Ip6Trusthost1:  pulumi.String("string"),
    	Ip6Trusthost10: pulumi.String("string"),
    	Ip6Trusthost2:  pulumi.String("string"),
    	Ip6Trusthost3:  pulumi.String("string"),
    	Ip6Trusthost4:  pulumi.String("string"),
    	Ip6Trusthost5:  pulumi.String("string"),
    	Ip6Trusthost6:  pulumi.String("string"),
    	Ip6Trusthost7:  pulumi.String("string"),
    	Ip6Trusthost8:  pulumi.String("string"),
    	Ip6Trusthost9:  pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	ObjectSwitchcontrollerSecuritypolicyAdminId: pulumi.String("string"),
    	Scopetype: pulumi.String("string"),
    	Trusthost10s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Trusthost1s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Trusthost2s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Trusthost3s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Trusthost4s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Trusthost5s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Trusthost6s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Trusthost7s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Trusthost8s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Trusthost9s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	UpdateIfExist: pulumi.Bool(false),
    })
    
    resource "fortimanager_object_switchcontroller_securitypolicy_admin" "objectSwitchcontrollerSecuritypolicyAdminResource" {
      lifecycle {
        create_before_destroy = true
      }
      adom                                            = "string"
      auto                                            = "string"
      ip6_trusthost1                                  = "string"
      ip6_trusthost10                                 = "string"
      ip6_trusthost2                                  = "string"
      ip6_trusthost3                                  = "string"
      ip6_trusthost4                                  = "string"
      ip6_trusthost5                                  = "string"
      ip6_trusthost6                                  = "string"
      ip6_trusthost7                                  = "string"
      ip6_trusthost8                                  = "string"
      ip6_trusthost9                                  = "string"
      name                                            = "string"
      object_switchcontroller_securitypolicy_admin_id = "string"
      scopetype                                       = "string"
      trusthost10s                                    = ["string"]
      trusthost1s                                     = ["string"]
      trusthost2s                                     = ["string"]
      trusthost3s                                     = ["string"]
      trusthost4s                                     = ["string"]
      trusthost5s                                     = ["string"]
      trusthost6s                                     = ["string"]
      trusthost7s                                     = ["string"]
      trusthost8s                                     = ["string"]
      trusthost9s                                     = ["string"]
      update_if_exist                                 = false
    }
    
    var objectSwitchcontrollerSecuritypolicyAdminResource = new ObjectSwitchcontrollerSecuritypolicyAdmin("objectSwitchcontrollerSecuritypolicyAdminResource", ObjectSwitchcontrollerSecuritypolicyAdminArgs.builder()
        .adom("string")
        .auto("string")
        .ip6Trusthost1("string")
        .ip6Trusthost10("string")
        .ip6Trusthost2("string")
        .ip6Trusthost3("string")
        .ip6Trusthost4("string")
        .ip6Trusthost5("string")
        .ip6Trusthost6("string")
        .ip6Trusthost7("string")
        .ip6Trusthost8("string")
        .ip6Trusthost9("string")
        .name("string")
        .objectSwitchcontrollerSecuritypolicyAdminId("string")
        .scopetype("string")
        .trusthost10s("string")
        .trusthost1s("string")
        .trusthost2s("string")
        .trusthost3s("string")
        .trusthost4s("string")
        .trusthost5s("string")
        .trusthost6s("string")
        .trusthost7s("string")
        .trusthost8s("string")
        .trusthost9s("string")
        .updateIfExist(false)
        .build());
    
    object_switchcontroller_securitypolicy_admin_resource = fortimanager.ObjectSwitchcontrollerSecuritypolicyAdmin("objectSwitchcontrollerSecuritypolicyAdminResource",
        adom="string",
        auto="string",
        ip6_trusthost1="string",
        ip6_trusthost10="string",
        ip6_trusthost2="string",
        ip6_trusthost3="string",
        ip6_trusthost4="string",
        ip6_trusthost5="string",
        ip6_trusthost6="string",
        ip6_trusthost7="string",
        ip6_trusthost8="string",
        ip6_trusthost9="string",
        name="string",
        object_switchcontroller_securitypolicy_admin_id="string",
        scopetype="string",
        trusthost10s=["string"],
        trusthost1s=["string"],
        trusthost2s=["string"],
        trusthost3s=["string"],
        trusthost4s=["string"],
        trusthost5s=["string"],
        trusthost6s=["string"],
        trusthost7s=["string"],
        trusthost8s=["string"],
        trusthost9s=["string"],
        update_if_exist=False)
    
    const objectSwitchcontrollerSecuritypolicyAdminResource = new fortimanager.ObjectSwitchcontrollerSecuritypolicyAdmin("objectSwitchcontrollerSecuritypolicyAdminResource", {
        adom: "string",
        auto: "string",
        ip6Trusthost1: "string",
        ip6Trusthost10: "string",
        ip6Trusthost2: "string",
        ip6Trusthost3: "string",
        ip6Trusthost4: "string",
        ip6Trusthost5: "string",
        ip6Trusthost6: "string",
        ip6Trusthost7: "string",
        ip6Trusthost8: "string",
        ip6Trusthost9: "string",
        name: "string",
        objectSwitchcontrollerSecuritypolicyAdminId: "string",
        scopetype: "string",
        trusthost10s: ["string"],
        trusthost1s: ["string"],
        trusthost2s: ["string"],
        trusthost3s: ["string"],
        trusthost4s: ["string"],
        trusthost5s: ["string"],
        trusthost6s: ["string"],
        trusthost7s: ["string"],
        trusthost8s: ["string"],
        trusthost9s: ["string"],
        updateIfExist: false,
    });
    
    type: fortimanager:ObjectSwitchcontrollerSecuritypolicyAdmin
    properties:
        adom: string
        auto: string
        ip6Trusthost1: string
        ip6Trusthost2: string
        ip6Trusthost3: string
        ip6Trusthost4: string
        ip6Trusthost5: string
        ip6Trusthost6: string
        ip6Trusthost7: string
        ip6Trusthost8: string
        ip6Trusthost9: string
        ip6Trusthost10: string
        name: string
        objectSwitchcontrollerSecuritypolicyAdminId: string
        scopetype: string
        trusthost1s:
            - string
        trusthost2s:
            - string
        trusthost3s:
            - string
        trusthost4s:
            - string
        trusthost5s:
            - string
        trusthost6s:
            - string
        trusthost7s:
            - string
        trusthost8s:
            - string
        trusthost9s:
            - string
        trusthost10s:
            - string
        updateIfExist: false
    

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

    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    Auto string
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    Ip6Trusthost1 string
    Trusted IPv6 host.
    Ip6Trusthost10 string
    Trusted IPv6 host.
    Ip6Trusthost2 string
    Trusted IPv6 host.
    Ip6Trusthost3 string
    Trusted IPv6 host.
    Ip6Trusthost4 string
    Trusted IPv6 host.
    Ip6Trusthost5 string
    Trusted IPv6 host.
    Ip6Trusthost6 string
    Trusted IPv6 host.
    Ip6Trusthost7 string
    Trusted IPv6 host.
    Ip6Trusthost8 string
    Trusted IPv6 host.
    Ip6Trusthost9 string
    Trusted IPv6 host.
    Name string
    Policy name.
    ObjectSwitchcontrollerSecuritypolicyAdminId string
    an identifier for the resource with format {{name}}.
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    Trusthost10s List<string>
    Trusted IPv4 host.
    Trusthost1s List<string>
    Trusted IPv4 host.
    Trusthost2s List<string>
    Trusted IPv4 host.
    Trusthost3s List<string>
    Trusted IPv4 host.
    Trusthost4s List<string>
    Trusted IPv4 host.
    Trusthost5s List<string>
    Trusted IPv4 host.
    Trusthost6s List<string>
    Trusted IPv4 host.
    Trusthost7s List<string>
    Trusted IPv4 host.
    Trusthost8s List<string>
    Trusted IPv4 host.
    Trusthost9s List<string>
    Trusted IPv4 host.
    UpdateIfExist bool
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    Auto string
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    Ip6Trusthost1 string
    Trusted IPv6 host.
    Ip6Trusthost10 string
    Trusted IPv6 host.
    Ip6Trusthost2 string
    Trusted IPv6 host.
    Ip6Trusthost3 string
    Trusted IPv6 host.
    Ip6Trusthost4 string
    Trusted IPv6 host.
    Ip6Trusthost5 string
    Trusted IPv6 host.
    Ip6Trusthost6 string
    Trusted IPv6 host.
    Ip6Trusthost7 string
    Trusted IPv6 host.
    Ip6Trusthost8 string
    Trusted IPv6 host.
    Ip6Trusthost9 string
    Trusted IPv6 host.
    Name string
    Policy name.
    ObjectSwitchcontrollerSecuritypolicyAdminId string
    an identifier for the resource with format {{name}}.
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    Trusthost10s []string
    Trusted IPv4 host.
    Trusthost1s []string
    Trusted IPv4 host.
    Trusthost2s []string
    Trusted IPv4 host.
    Trusthost3s []string
    Trusted IPv4 host.
    Trusthost4s []string
    Trusted IPv4 host.
    Trusthost5s []string
    Trusted IPv4 host.
    Trusthost6s []string
    Trusted IPv4 host.
    Trusthost7s []string
    Trusted IPv4 host.
    Trusthost8s []string
    Trusted IPv4 host.
    Trusthost9s []string
    Trusted IPv4 host.
    UpdateIfExist bool
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    auto string
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    ip6_trusthost1 string
    Trusted IPv6 host.
    ip6_trusthost10 string
    Trusted IPv6 host.
    ip6_trusthost2 string
    Trusted IPv6 host.
    ip6_trusthost3 string
    Trusted IPv6 host.
    ip6_trusthost4 string
    Trusted IPv6 host.
    ip6_trusthost5 string
    Trusted IPv6 host.
    ip6_trusthost6 string
    Trusted IPv6 host.
    ip6_trusthost7 string
    Trusted IPv6 host.
    ip6_trusthost8 string
    Trusted IPv6 host.
    ip6_trusthost9 string
    Trusted IPv6 host.
    name string
    Policy name.
    object_switchcontroller_securitypolicy_admin_id string
    an identifier for the resource with format {{name}}.
    scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    trusthost10s list(string)
    Trusted IPv4 host.
    trusthost1s list(string)
    Trusted IPv4 host.
    trusthost2s list(string)
    Trusted IPv4 host.
    trusthost3s list(string)
    Trusted IPv4 host.
    trusthost4s list(string)
    Trusted IPv4 host.
    trusthost5s list(string)
    Trusted IPv4 host.
    trusthost6s list(string)
    Trusted IPv4 host.
    trusthost7s list(string)
    Trusted IPv4 host.
    trusthost8s list(string)
    Trusted IPv4 host.
    trusthost9s list(string)
    Trusted IPv4 host.
    update_if_exist bool
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    auto String
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    ip6Trusthost1 String
    Trusted IPv6 host.
    ip6Trusthost10 String
    Trusted IPv6 host.
    ip6Trusthost2 String
    Trusted IPv6 host.
    ip6Trusthost3 String
    Trusted IPv6 host.
    ip6Trusthost4 String
    Trusted IPv6 host.
    ip6Trusthost5 String
    Trusted IPv6 host.
    ip6Trusthost6 String
    Trusted IPv6 host.
    ip6Trusthost7 String
    Trusted IPv6 host.
    ip6Trusthost8 String
    Trusted IPv6 host.
    ip6Trusthost9 String
    Trusted IPv6 host.
    name String
    Policy name.
    objectSwitchcontrollerSecuritypolicyAdminId String
    an identifier for the resource with format {{name}}.
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    trusthost10s List<String>
    Trusted IPv4 host.
    trusthost1s List<String>
    Trusted IPv4 host.
    trusthost2s List<String>
    Trusted IPv4 host.
    trusthost3s List<String>
    Trusted IPv4 host.
    trusthost4s List<String>
    Trusted IPv4 host.
    trusthost5s List<String>
    Trusted IPv4 host.
    trusthost6s List<String>
    Trusted IPv4 host.
    trusthost7s List<String>
    Trusted IPv4 host.
    trusthost8s List<String>
    Trusted IPv4 host.
    trusthost9s List<String>
    Trusted IPv4 host.
    updateIfExist Boolean
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    auto string
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    ip6Trusthost1 string
    Trusted IPv6 host.
    ip6Trusthost10 string
    Trusted IPv6 host.
    ip6Trusthost2 string
    Trusted IPv6 host.
    ip6Trusthost3 string
    Trusted IPv6 host.
    ip6Trusthost4 string
    Trusted IPv6 host.
    ip6Trusthost5 string
    Trusted IPv6 host.
    ip6Trusthost6 string
    Trusted IPv6 host.
    ip6Trusthost7 string
    Trusted IPv6 host.
    ip6Trusthost8 string
    Trusted IPv6 host.
    ip6Trusthost9 string
    Trusted IPv6 host.
    name string
    Policy name.
    objectSwitchcontrollerSecuritypolicyAdminId string
    an identifier for the resource with format {{name}}.
    scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    trusthost10s string[]
    Trusted IPv4 host.
    trusthost1s string[]
    Trusted IPv4 host.
    trusthost2s string[]
    Trusted IPv4 host.
    trusthost3s string[]
    Trusted IPv4 host.
    trusthost4s string[]
    Trusted IPv4 host.
    trusthost5s string[]
    Trusted IPv4 host.
    trusthost6s string[]
    Trusted IPv4 host.
    trusthost7s string[]
    Trusted IPv4 host.
    trusthost8s string[]
    Trusted IPv4 host.
    trusthost9s string[]
    Trusted IPv4 host.
    updateIfExist boolean
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    auto str
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    ip6_trusthost1 str
    Trusted IPv6 host.
    ip6_trusthost10 str
    Trusted IPv6 host.
    ip6_trusthost2 str
    Trusted IPv6 host.
    ip6_trusthost3 str
    Trusted IPv6 host.
    ip6_trusthost4 str
    Trusted IPv6 host.
    ip6_trusthost5 str
    Trusted IPv6 host.
    ip6_trusthost6 str
    Trusted IPv6 host.
    ip6_trusthost7 str
    Trusted IPv6 host.
    ip6_trusthost8 str
    Trusted IPv6 host.
    ip6_trusthost9 str
    Trusted IPv6 host.
    name str
    Policy name.
    object_switchcontroller_securitypolicy_admin_id str
    an identifier for the resource with format {{name}}.
    scopetype str
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    trusthost10s Sequence[str]
    Trusted IPv4 host.
    trusthost1s Sequence[str]
    Trusted IPv4 host.
    trusthost2s Sequence[str]
    Trusted IPv4 host.
    trusthost3s Sequence[str]
    Trusted IPv4 host.
    trusthost4s Sequence[str]
    Trusted IPv4 host.
    trusthost5s Sequence[str]
    Trusted IPv4 host.
    trusthost6s Sequence[str]
    Trusted IPv4 host.
    trusthost7s Sequence[str]
    Trusted IPv4 host.
    trusthost8s Sequence[str]
    Trusted IPv4 host.
    trusthost9s Sequence[str]
    Trusted IPv4 host.
    update_if_exist bool
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    auto String
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    ip6Trusthost1 String
    Trusted IPv6 host.
    ip6Trusthost10 String
    Trusted IPv6 host.
    ip6Trusthost2 String
    Trusted IPv6 host.
    ip6Trusthost3 String
    Trusted IPv6 host.
    ip6Trusthost4 String
    Trusted IPv6 host.
    ip6Trusthost5 String
    Trusted IPv6 host.
    ip6Trusthost6 String
    Trusted IPv6 host.
    ip6Trusthost7 String
    Trusted IPv6 host.
    ip6Trusthost8 String
    Trusted IPv6 host.
    ip6Trusthost9 String
    Trusted IPv6 host.
    name String
    Policy name.
    objectSwitchcontrollerSecuritypolicyAdminId String
    an identifier for the resource with format {{name}}.
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    trusthost10s List<String>
    Trusted IPv4 host.
    trusthost1s List<String>
    Trusted IPv4 host.
    trusthost2s List<String>
    Trusted IPv4 host.
    trusthost3s List<String>
    Trusted IPv4 host.
    trusthost4s List<String>
    Trusted IPv4 host.
    trusthost5s List<String>
    Trusted IPv4 host.
    trusthost6s List<String>
    Trusted IPv4 host.
    trusthost7s List<String>
    Trusted IPv4 host.
    trusthost8s List<String>
    Trusted IPv4 host.
    trusthost9s List<String>
    Trusted IPv4 host.
    updateIfExist Boolean

    Outputs

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

    Get an existing ObjectSwitchcontrollerSecuritypolicyAdmin 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?: ObjectSwitchcontrollerSecuritypolicyAdminState, opts?: CustomResourceOptions): ObjectSwitchcontrollerSecuritypolicyAdmin
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adom: Optional[str] = None,
            auto: Optional[str] = None,
            ip6_trusthost1: Optional[str] = None,
            ip6_trusthost10: Optional[str] = None,
            ip6_trusthost2: Optional[str] = None,
            ip6_trusthost3: Optional[str] = None,
            ip6_trusthost4: Optional[str] = None,
            ip6_trusthost5: Optional[str] = None,
            ip6_trusthost6: Optional[str] = None,
            ip6_trusthost7: Optional[str] = None,
            ip6_trusthost8: Optional[str] = None,
            ip6_trusthost9: Optional[str] = None,
            name: Optional[str] = None,
            object_switchcontroller_securitypolicy_admin_id: Optional[str] = None,
            scopetype: Optional[str] = None,
            trusthost10s: Optional[Sequence[str]] = None,
            trusthost1s: Optional[Sequence[str]] = None,
            trusthost2s: Optional[Sequence[str]] = None,
            trusthost3s: Optional[Sequence[str]] = None,
            trusthost4s: Optional[Sequence[str]] = None,
            trusthost5s: Optional[Sequence[str]] = None,
            trusthost6s: Optional[Sequence[str]] = None,
            trusthost7s: Optional[Sequence[str]] = None,
            trusthost8s: Optional[Sequence[str]] = None,
            trusthost9s: Optional[Sequence[str]] = None,
            update_if_exist: Optional[bool] = None) -> ObjectSwitchcontrollerSecuritypolicyAdmin
    func GetObjectSwitchcontrollerSecuritypolicyAdmin(ctx *Context, name string, id IDInput, state *ObjectSwitchcontrollerSecuritypolicyAdminState, opts ...ResourceOption) (*ObjectSwitchcontrollerSecuritypolicyAdmin, error)
    public static ObjectSwitchcontrollerSecuritypolicyAdmin Get(string name, Input<string> id, ObjectSwitchcontrollerSecuritypolicyAdminState? state, CustomResourceOptions? opts = null)
    public static ObjectSwitchcontrollerSecuritypolicyAdmin get(String name, Output<String> id, ObjectSwitchcontrollerSecuritypolicyAdminState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:ObjectSwitchcontrollerSecuritypolicyAdmin    get:      id: ${id}
    import {
      to = fortimanager_object_switchcontroller_securitypolicy_admin.example
      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.
    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.
    Auto string
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    Ip6Trusthost1 string
    Trusted IPv6 host.
    Ip6Trusthost10 string
    Trusted IPv6 host.
    Ip6Trusthost2 string
    Trusted IPv6 host.
    Ip6Trusthost3 string
    Trusted IPv6 host.
    Ip6Trusthost4 string
    Trusted IPv6 host.
    Ip6Trusthost5 string
    Trusted IPv6 host.
    Ip6Trusthost6 string
    Trusted IPv6 host.
    Ip6Trusthost7 string
    Trusted IPv6 host.
    Ip6Trusthost8 string
    Trusted IPv6 host.
    Ip6Trusthost9 string
    Trusted IPv6 host.
    Name string
    Policy name.
    ObjectSwitchcontrollerSecuritypolicyAdminId string
    an identifier for the resource with format {{name}}.
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    Trusthost10s List<string>
    Trusted IPv4 host.
    Trusthost1s List<string>
    Trusted IPv4 host.
    Trusthost2s List<string>
    Trusted IPv4 host.
    Trusthost3s List<string>
    Trusted IPv4 host.
    Trusthost4s List<string>
    Trusted IPv4 host.
    Trusthost5s List<string>
    Trusted IPv4 host.
    Trusthost6s List<string>
    Trusted IPv4 host.
    Trusthost7s List<string>
    Trusted IPv4 host.
    Trusthost8s List<string>
    Trusted IPv4 host.
    Trusthost9s List<string>
    Trusted IPv4 host.
    UpdateIfExist bool
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    Auto string
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    Ip6Trusthost1 string
    Trusted IPv6 host.
    Ip6Trusthost10 string
    Trusted IPv6 host.
    Ip6Trusthost2 string
    Trusted IPv6 host.
    Ip6Trusthost3 string
    Trusted IPv6 host.
    Ip6Trusthost4 string
    Trusted IPv6 host.
    Ip6Trusthost5 string
    Trusted IPv6 host.
    Ip6Trusthost6 string
    Trusted IPv6 host.
    Ip6Trusthost7 string
    Trusted IPv6 host.
    Ip6Trusthost8 string
    Trusted IPv6 host.
    Ip6Trusthost9 string
    Trusted IPv6 host.
    Name string
    Policy name.
    ObjectSwitchcontrollerSecuritypolicyAdminId string
    an identifier for the resource with format {{name}}.
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    Trusthost10s []string
    Trusted IPv4 host.
    Trusthost1s []string
    Trusted IPv4 host.
    Trusthost2s []string
    Trusted IPv4 host.
    Trusthost3s []string
    Trusted IPv4 host.
    Trusthost4s []string
    Trusted IPv4 host.
    Trusthost5s []string
    Trusted IPv4 host.
    Trusthost6s []string
    Trusted IPv4 host.
    Trusthost7s []string
    Trusted IPv4 host.
    Trusthost8s []string
    Trusted IPv4 host.
    Trusthost9s []string
    Trusted IPv4 host.
    UpdateIfExist bool
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    auto string
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    ip6_trusthost1 string
    Trusted IPv6 host.
    ip6_trusthost10 string
    Trusted IPv6 host.
    ip6_trusthost2 string
    Trusted IPv6 host.
    ip6_trusthost3 string
    Trusted IPv6 host.
    ip6_trusthost4 string
    Trusted IPv6 host.
    ip6_trusthost5 string
    Trusted IPv6 host.
    ip6_trusthost6 string
    Trusted IPv6 host.
    ip6_trusthost7 string
    Trusted IPv6 host.
    ip6_trusthost8 string
    Trusted IPv6 host.
    ip6_trusthost9 string
    Trusted IPv6 host.
    name string
    Policy name.
    object_switchcontroller_securitypolicy_admin_id string
    an identifier for the resource with format {{name}}.
    scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    trusthost10s list(string)
    Trusted IPv4 host.
    trusthost1s list(string)
    Trusted IPv4 host.
    trusthost2s list(string)
    Trusted IPv4 host.
    trusthost3s list(string)
    Trusted IPv4 host.
    trusthost4s list(string)
    Trusted IPv4 host.
    trusthost5s list(string)
    Trusted IPv4 host.
    trusthost6s list(string)
    Trusted IPv4 host.
    trusthost7s list(string)
    Trusted IPv4 host.
    trusthost8s list(string)
    Trusted IPv4 host.
    trusthost9s list(string)
    Trusted IPv4 host.
    update_if_exist bool
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    auto String
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    ip6Trusthost1 String
    Trusted IPv6 host.
    ip6Trusthost10 String
    Trusted IPv6 host.
    ip6Trusthost2 String
    Trusted IPv6 host.
    ip6Trusthost3 String
    Trusted IPv6 host.
    ip6Trusthost4 String
    Trusted IPv6 host.
    ip6Trusthost5 String
    Trusted IPv6 host.
    ip6Trusthost6 String
    Trusted IPv6 host.
    ip6Trusthost7 String
    Trusted IPv6 host.
    ip6Trusthost8 String
    Trusted IPv6 host.
    ip6Trusthost9 String
    Trusted IPv6 host.
    name String
    Policy name.
    objectSwitchcontrollerSecuritypolicyAdminId String
    an identifier for the resource with format {{name}}.
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    trusthost10s List<String>
    Trusted IPv4 host.
    trusthost1s List<String>
    Trusted IPv4 host.
    trusthost2s List<String>
    Trusted IPv4 host.
    trusthost3s List<String>
    Trusted IPv4 host.
    trusthost4s List<String>
    Trusted IPv4 host.
    trusthost5s List<String>
    Trusted IPv4 host.
    trusthost6s List<String>
    Trusted IPv4 host.
    trusthost7s List<String>
    Trusted IPv4 host.
    trusthost8s List<String>
    Trusted IPv4 host.
    trusthost9s List<String>
    Trusted IPv4 host.
    updateIfExist Boolean
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    auto string
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    ip6Trusthost1 string
    Trusted IPv6 host.
    ip6Trusthost10 string
    Trusted IPv6 host.
    ip6Trusthost2 string
    Trusted IPv6 host.
    ip6Trusthost3 string
    Trusted IPv6 host.
    ip6Trusthost4 string
    Trusted IPv6 host.
    ip6Trusthost5 string
    Trusted IPv6 host.
    ip6Trusthost6 string
    Trusted IPv6 host.
    ip6Trusthost7 string
    Trusted IPv6 host.
    ip6Trusthost8 string
    Trusted IPv6 host.
    ip6Trusthost9 string
    Trusted IPv6 host.
    name string
    Policy name.
    objectSwitchcontrollerSecuritypolicyAdminId string
    an identifier for the resource with format {{name}}.
    scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    trusthost10s string[]
    Trusted IPv4 host.
    trusthost1s string[]
    Trusted IPv4 host.
    trusthost2s string[]
    Trusted IPv4 host.
    trusthost3s string[]
    Trusted IPv4 host.
    trusthost4s string[]
    Trusted IPv4 host.
    trusthost5s string[]
    Trusted IPv4 host.
    trusthost6s string[]
    Trusted IPv4 host.
    trusthost7s string[]
    Trusted IPv4 host.
    trusthost8s string[]
    Trusted IPv4 host.
    trusthost9s string[]
    Trusted IPv4 host.
    updateIfExist boolean
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    auto str
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    ip6_trusthost1 str
    Trusted IPv6 host.
    ip6_trusthost10 str
    Trusted IPv6 host.
    ip6_trusthost2 str
    Trusted IPv6 host.
    ip6_trusthost3 str
    Trusted IPv6 host.
    ip6_trusthost4 str
    Trusted IPv6 host.
    ip6_trusthost5 str
    Trusted IPv6 host.
    ip6_trusthost6 str
    Trusted IPv6 host.
    ip6_trusthost7 str
    Trusted IPv6 host.
    ip6_trusthost8 str
    Trusted IPv6 host.
    ip6_trusthost9 str
    Trusted IPv6 host.
    name str
    Policy name.
    object_switchcontroller_securitypolicy_admin_id str
    an identifier for the resource with format {{name}}.
    scopetype str
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    trusthost10s Sequence[str]
    Trusted IPv4 host.
    trusthost1s Sequence[str]
    Trusted IPv4 host.
    trusthost2s Sequence[str]
    Trusted IPv4 host.
    trusthost3s Sequence[str]
    Trusted IPv4 host.
    trusthost4s Sequence[str]
    Trusted IPv4 host.
    trusthost5s Sequence[str]
    Trusted IPv4 host.
    trusthost6s Sequence[str]
    Trusted IPv4 host.
    trusthost7s Sequence[str]
    Trusted IPv4 host.
    trusthost8s Sequence[str]
    Trusted IPv4 host.
    trusthost9s Sequence[str]
    Trusted IPv4 host.
    update_if_exist bool
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    auto String
    Automatically set based on the host ip connected via the Fortilink interface. Valid values: disable, enable.
    ip6Trusthost1 String
    Trusted IPv6 host.
    ip6Trusthost10 String
    Trusted IPv6 host.
    ip6Trusthost2 String
    Trusted IPv6 host.
    ip6Trusthost3 String
    Trusted IPv6 host.
    ip6Trusthost4 String
    Trusted IPv6 host.
    ip6Trusthost5 String
    Trusted IPv6 host.
    ip6Trusthost6 String
    Trusted IPv6 host.
    ip6Trusthost7 String
    Trusted IPv6 host.
    ip6Trusthost8 String
    Trusted IPv6 host.
    ip6Trusthost9 String
    Trusted IPv6 host.
    name String
    Policy name.
    objectSwitchcontrollerSecuritypolicyAdminId String
    an identifier for the resource with format {{name}}.
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    trusthost10s List<String>
    Trusted IPv4 host.
    trusthost1s List<String>
    Trusted IPv4 host.
    trusthost2s List<String>
    Trusted IPv4 host.
    trusthost3s List<String>
    Trusted IPv4 host.
    trusthost4s List<String>
    Trusted IPv4 host.
    trusthost5s List<String>
    Trusted IPv4 host.
    trusthost6s List<String>
    Trusted IPv4 host.
    trusthost7s List<String>
    Trusted IPv4 host.
    trusthost8s List<String>
    Trusted IPv4 host.
    trusthost9s List<String>
    Trusted IPv4 host.
    updateIfExist Boolean

    Import

    ObjectSwitchController SecurityPolicyAdmin can be imported using any of these accepted formats:

    $ export “FORTIMANAGER_IMPORT_TABLE”=“true”

    $ pulumi import fortimanager:index/objectSwitchcontrollerSecuritypolicyAdmin:ObjectSwitchcontrollerSecuritypolicyAdmin 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 fortimanager Terraform Provider.
    Viewing docs for fortimanager 1.18.0
    published on Friday, Jul 31, 2026 by fortinetdev

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial