1. Registry
  2. Packages
  3. Fortimanager Provider
  4. API Docs
  5. ObjectZtnaWebportalbookmarkBookmarksSort
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

    Create ObjectZtnaWebportalbookmarkBookmarksSort Resource

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

    Constructor syntax

    new ObjectZtnaWebportalbookmarkBookmarksSort(name: string, args: ObjectZtnaWebportalbookmarkBookmarksSortArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectZtnaWebportalbookmarkBookmarksSort(resource_name: str,
                                                 args: ObjectZtnaWebportalbookmarkBookmarksSortArgs,
                                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectZtnaWebportalbookmarkBookmarksSort(resource_name: str,
                                                 opts: Optional[ResourceOptions] = None,
                                                 sortby: Optional[str] = None,
                                                 sortdirection: Optional[str] = None,
                                                 web_portal_bookmark: Optional[str] = None,
                                                 adom: Optional[str] = None,
                                                 comment: Optional[str] = None,
                                                 force_recreate: Optional[str] = None,
                                                 manual_orders: Optional[Sequence[str]] = None,
                                                 object_ztna_webportalbookmark_bookmarks_sort_id: Optional[str] = None,
                                                 scopetype: Optional[str] = None,
                                                 status: Optional[str] = None)
    func NewObjectZtnaWebportalbookmarkBookmarksSort(ctx *Context, name string, args ObjectZtnaWebportalbookmarkBookmarksSortArgs, opts ...ResourceOption) (*ObjectZtnaWebportalbookmarkBookmarksSort, error)
    public ObjectZtnaWebportalbookmarkBookmarksSort(string name, ObjectZtnaWebportalbookmarkBookmarksSortArgs args, CustomResourceOptions? opts = null)
    public ObjectZtnaWebportalbookmarkBookmarksSort(String name, ObjectZtnaWebportalbookmarkBookmarksSortArgs args)
    public ObjectZtnaWebportalbookmarkBookmarksSort(String name, ObjectZtnaWebportalbookmarkBookmarksSortArgs args, CustomResourceOptions options)
    
    type: fortimanager:ObjectZtnaWebportalbookmarkBookmarksSort
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "fortimanager_object_ztna_webportalbookmark_bookmarks_sort" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ObjectZtnaWebportalbookmarkBookmarksSortArgs
    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 ObjectZtnaWebportalbookmarkBookmarksSortArgs
    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 ObjectZtnaWebportalbookmarkBookmarksSortArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectZtnaWebportalbookmarkBookmarksSortArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectZtnaWebportalbookmarkBookmarksSortArgs
    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 objectZtnaWebportalbookmarkBookmarksSortResource = new Fortimanager.ObjectZtnaWebportalbookmarkBookmarksSort("objectZtnaWebportalbookmarkBookmarksSortResource", new()
    {
        Sortby = "string",
        Sortdirection = "string",
        WebPortalBookmark = "string",
        Adom = "string",
        Comment = "string",
        ForceRecreate = "string",
        ManualOrders = new[]
        {
            "string",
        },
        ObjectZtnaWebportalbookmarkBookmarksSortId = "string",
        Scopetype = "string",
        Status = "string",
    });
    
    example, err := fortimanager.NewObjectZtnaWebportalbookmarkBookmarksSort(ctx, "objectZtnaWebportalbookmarkBookmarksSortResource", &fortimanager.ObjectZtnaWebportalbookmarkBookmarksSortArgs{
    	Sortby:            pulumi.String("string"),
    	Sortdirection:     pulumi.String("string"),
    	WebPortalBookmark: pulumi.String("string"),
    	Adom:              pulumi.String("string"),
    	Comment:           pulumi.String("string"),
    	ForceRecreate:     pulumi.String("string"),
    	ManualOrders: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ObjectZtnaWebportalbookmarkBookmarksSortId: pulumi.String("string"),
    	Scopetype: pulumi.String("string"),
    	Status:    pulumi.String("string"),
    })
    
    resource "fortimanager_object_ztna_webportalbookmark_bookmarks_sort" "objectZtnaWebportalbookmarkBookmarksSortResource" {
      lifecycle {
        create_before_destroy = true
      }
      sortby                                          = "string"
      sortdirection                                   = "string"
      web_portal_bookmark                             = "string"
      adom                                            = "string"
      comment                                         = "string"
      force_recreate                                  = "string"
      manual_orders                                   = ["string"]
      object_ztna_webportalbookmark_bookmarks_sort_id = "string"
      scopetype                                       = "string"
      status                                          = "string"
    }
    
    var objectZtnaWebportalbookmarkBookmarksSortResource = new ObjectZtnaWebportalbookmarkBookmarksSort("objectZtnaWebportalbookmarkBookmarksSortResource", ObjectZtnaWebportalbookmarkBookmarksSortArgs.builder()
        .sortby("string")
        .sortdirection("string")
        .webPortalBookmark("string")
        .adom("string")
        .comment("string")
        .forceRecreate("string")
        .manualOrders("string")
        .objectZtnaWebportalbookmarkBookmarksSortId("string")
        .scopetype("string")
        .status("string")
        .build());
    
    object_ztna_webportalbookmark_bookmarks_sort_resource = fortimanager.ObjectZtnaWebportalbookmarkBookmarksSort("objectZtnaWebportalbookmarkBookmarksSortResource",
        sortby="string",
        sortdirection="string",
        web_portal_bookmark="string",
        adom="string",
        comment="string",
        force_recreate="string",
        manual_orders=["string"],
        object_ztna_webportalbookmark_bookmarks_sort_id="string",
        scopetype="string",
        status="string")
    
    const objectZtnaWebportalbookmarkBookmarksSortResource = new fortimanager.ObjectZtnaWebportalbookmarkBookmarksSort("objectZtnaWebportalbookmarkBookmarksSortResource", {
        sortby: "string",
        sortdirection: "string",
        webPortalBookmark: "string",
        adom: "string",
        comment: "string",
        forceRecreate: "string",
        manualOrders: ["string"],
        objectZtnaWebportalbookmarkBookmarksSortId: "string",
        scopetype: "string",
        status: "string",
    });
    
    type: fortimanager:ObjectZtnaWebportalbookmarkBookmarksSort
    properties:
        adom: string
        comment: string
        forceRecreate: string
        manualOrders:
            - string
        objectZtnaWebportalbookmarkBookmarksSortId: string
        scopetype: string
        sortby: string
        sortdirection: string
        status: string
        webPortalBookmark: string
    

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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ObjectZtnaWebportalbookmarkBookmarksSort resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    StateLists List<ObjectZtnaWebportalbookmarkBookmarksSortStateList>
    Id string
    The provider-assigned unique ID for this managed resource.
    StateLists []ObjectZtnaWebportalbookmarkBookmarksSortStateList
    id string
    The provider-assigned unique ID for this managed resource.
    state_lists list(object)
    id String
    The provider-assigned unique ID for this managed resource.
    stateLists List<ObjectZtnaWebportalbookmarkBookmarksSortStateList>
    id string
    The provider-assigned unique ID for this managed resource.
    stateLists ObjectZtnaWebportalbookmarkBookmarksSortStateList[]
    id str
    The provider-assigned unique ID for this managed resource.
    state_lists Sequence[ObjectZtnaWebportalbookmarkBookmarksSortStateList]
    id String
    The provider-assigned unique ID for this managed resource.
    stateLists List<Property Map>

    Look up Existing ObjectZtnaWebportalbookmarkBookmarksSort Resource

    Get an existing ObjectZtnaWebportalbookmarkBookmarksSort 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?: ObjectZtnaWebportalbookmarkBookmarksSortState, opts?: CustomResourceOptions): ObjectZtnaWebportalbookmarkBookmarksSort
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adom: Optional[str] = None,
            comment: Optional[str] = None,
            force_recreate: Optional[str] = None,
            manual_orders: Optional[Sequence[str]] = None,
            object_ztna_webportalbookmark_bookmarks_sort_id: Optional[str] = None,
            scopetype: Optional[str] = None,
            sortby: Optional[str] = None,
            sortdirection: Optional[str] = None,
            state_lists: Optional[Sequence[ObjectZtnaWebportalbookmarkBookmarksSortStateListArgs]] = None,
            status: Optional[str] = None,
            web_portal_bookmark: Optional[str] = None) -> ObjectZtnaWebportalbookmarkBookmarksSort
    func GetObjectZtnaWebportalbookmarkBookmarksSort(ctx *Context, name string, id IDInput, state *ObjectZtnaWebportalbookmarkBookmarksSortState, opts ...ResourceOption) (*ObjectZtnaWebportalbookmarkBookmarksSort, error)
    public static ObjectZtnaWebportalbookmarkBookmarksSort Get(string name, Input<string> id, ObjectZtnaWebportalbookmarkBookmarksSortState? state, CustomResourceOptions? opts = null)
    public static ObjectZtnaWebportalbookmarkBookmarksSort get(String name, Output<String> id, ObjectZtnaWebportalbookmarkBookmarksSortState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:ObjectZtnaWebportalbookmarkBookmarksSort    get:      id: ${id}
    import {
      to = fortimanager_object_ztna_webportalbookmark_bookmarks_sort.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:

    Supporting Types

    ObjectZtnaWebportalbookmarkBookmarksSortStateList, ObjectZtnaWebportalbookmarkBookmarksSortStateListArgs

    Name string
    Name string
    name string
    name String
    name string
    name str
    name String

    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