published on Friday, Jul 31, 2026 by fortinetdev
published on Friday, Jul 31, 2026 by fortinetdev
Create PackagesPblockFirewallLocalinpolicy6Sort Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PackagesPblockFirewallLocalinpolicy6Sort(name: string, args: PackagesPblockFirewallLocalinpolicy6SortArgs, opts?: CustomResourceOptions);@overload
def PackagesPblockFirewallLocalinpolicy6Sort(resource_name: str,
args: PackagesPblockFirewallLocalinpolicy6SortArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PackagesPblockFirewallLocalinpolicy6Sort(resource_name: str,
opts: Optional[ResourceOptions] = None,
pblock: Optional[str] = None,
sortby: Optional[str] = None,
sortdirection: Optional[str] = None,
adom: Optional[str] = None,
comment: Optional[str] = None,
force_recreate: Optional[str] = None,
manual_orders: Optional[Sequence[str]] = None,
packages_pblock_firewall_localinpolicy6_sort_id: Optional[str] = None,
scopetype: Optional[str] = None,
status: Optional[str] = None)func NewPackagesPblockFirewallLocalinpolicy6Sort(ctx *Context, name string, args PackagesPblockFirewallLocalinpolicy6SortArgs, opts ...ResourceOption) (*PackagesPblockFirewallLocalinpolicy6Sort, error)public PackagesPblockFirewallLocalinpolicy6Sort(string name, PackagesPblockFirewallLocalinpolicy6SortArgs args, CustomResourceOptions? opts = null)
public PackagesPblockFirewallLocalinpolicy6Sort(String name, PackagesPblockFirewallLocalinpolicy6SortArgs args)
public PackagesPblockFirewallLocalinpolicy6Sort(String name, PackagesPblockFirewallLocalinpolicy6SortArgs args, CustomResourceOptions options)
type: fortimanager:PackagesPblockFirewallLocalinpolicy6Sort
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "fortimanager_packages_pblock_firewall_localinpolicy6_sort" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PackagesPblockFirewallLocalinpolicy6SortArgs
- 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 PackagesPblockFirewallLocalinpolicy6SortArgs
- 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 PackagesPblockFirewallLocalinpolicy6SortArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PackagesPblockFirewallLocalinpolicy6SortArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PackagesPblockFirewallLocalinpolicy6SortArgs
- 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 packagesPblockFirewallLocalinpolicy6SortResource = new Fortimanager.PackagesPblockFirewallLocalinpolicy6Sort("packagesPblockFirewallLocalinpolicy6SortResource", new()
{
Pblock = "string",
Sortby = "string",
Sortdirection = "string",
Adom = "string",
Comment = "string",
ForceRecreate = "string",
ManualOrders = new[]
{
"string",
},
PackagesPblockFirewallLocalinpolicy6SortId = "string",
Scopetype = "string",
Status = "string",
});
example, err := fortimanager.NewPackagesPblockFirewallLocalinpolicy6Sort(ctx, "packagesPblockFirewallLocalinpolicy6SortResource", &fortimanager.PackagesPblockFirewallLocalinpolicy6SortArgs{
Pblock: pulumi.String("string"),
Sortby: pulumi.String("string"),
Sortdirection: pulumi.String("string"),
Adom: pulumi.String("string"),
Comment: pulumi.String("string"),
ForceRecreate: pulumi.String("string"),
ManualOrders: pulumi.StringArray{
pulumi.String("string"),
},
PackagesPblockFirewallLocalinpolicy6SortId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Status: pulumi.String("string"),
})
resource "fortimanager_packages_pblock_firewall_localinpolicy6_sort" "packagesPblockFirewallLocalinpolicy6SortResource" {
lifecycle {
create_before_destroy = true
}
pblock = "string"
sortby = "string"
sortdirection = "string"
adom = "string"
comment = "string"
force_recreate = "string"
manual_orders = ["string"]
packages_pblock_firewall_localinpolicy6_sort_id = "string"
scopetype = "string"
status = "string"
}
var packagesPblockFirewallLocalinpolicy6SortResource = new PackagesPblockFirewallLocalinpolicy6Sort("packagesPblockFirewallLocalinpolicy6SortResource", PackagesPblockFirewallLocalinpolicy6SortArgs.builder()
.pblock("string")
.sortby("string")
.sortdirection("string")
.adom("string")
.comment("string")
.forceRecreate("string")
.manualOrders("string")
.packagesPblockFirewallLocalinpolicy6SortId("string")
.scopetype("string")
.status("string")
.build());
packages_pblock_firewall_localinpolicy6_sort_resource = fortimanager.PackagesPblockFirewallLocalinpolicy6Sort("packagesPblockFirewallLocalinpolicy6SortResource",
pblock="string",
sortby="string",
sortdirection="string",
adom="string",
comment="string",
force_recreate="string",
manual_orders=["string"],
packages_pblock_firewall_localinpolicy6_sort_id="string",
scopetype="string",
status="string")
const packagesPblockFirewallLocalinpolicy6SortResource = new fortimanager.PackagesPblockFirewallLocalinpolicy6Sort("packagesPblockFirewallLocalinpolicy6SortResource", {
pblock: "string",
sortby: "string",
sortdirection: "string",
adom: "string",
comment: "string",
forceRecreate: "string",
manualOrders: ["string"],
packagesPblockFirewallLocalinpolicy6SortId: "string",
scopetype: "string",
status: "string",
});
type: fortimanager:PackagesPblockFirewallLocalinpolicy6Sort
properties:
adom: string
comment: string
forceRecreate: string
manualOrders:
- string
packagesPblockFirewallLocalinpolicy6SortId: string
pblock: string
scopetype: string
sortby: string
sortdirection: string
status: string
PackagesPblockFirewallLocalinpolicy6Sort 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 PackagesPblockFirewallLocalinpolicy6Sort resource accepts the following input properties:
- Pblock string
- Sortby string
- Sortdirection string
- Adom string
- Comment string
- Force
Recreate string - Manual
Orders List<string> - Packages
Pblock stringFirewall Localinpolicy6Sort Id - Scopetype string
- Status string
- Pblock string
- Sortby string
- Sortdirection string
- Adom string
- Comment string
- Force
Recreate string - Manual
Orders []string - Packages
Pblock stringFirewall Localinpolicy6Sort Id - Scopetype string
- Status string
- pblock string
- sortby string
- sortdirection string
- adom string
- comment string
- force_
recreate string - manual_
orders list(string) - packages_
pblock_ stringfirewall_ localinpolicy6_ sort_ id - scopetype string
- status string
- pblock String
- sortby String
- sortdirection String
- adom String
- comment String
- force
Recreate String - manual
Orders List<String> - packages
Pblock StringFirewall Localinpolicy6Sort Id - scopetype String
- status String
- pblock string
- sortby string
- sortdirection string
- adom string
- comment string
- force
Recreate string - manual
Orders string[] - packages
Pblock stringFirewall Localinpolicy6Sort Id - scopetype string
- status string
- pblock str
- sortby str
- sortdirection str
- adom str
- comment str
- force_
recreate str - manual_
orders Sequence[str] - packages_
pblock_ strfirewall_ localinpolicy6_ sort_ id - scopetype str
- status str
- pblock String
- sortby String
- sortdirection String
- adom String
- comment String
- force
Recreate String - manual
Orders List<String> - packages
Pblock StringFirewall Localinpolicy6Sort Id - scopetype String
- status String
Outputs
All input properties are implicitly available as output properties. Additionally, the PackagesPblockFirewallLocalinpolicy6Sort resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Lists List<PackagesPblock Firewall Localinpolicy6Sort State List>
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Lists []PackagesPblock Firewall Localinpolicy6Sort State List
- 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.
- state
Lists List<PackagesPblock Firewall Localinpolicy6Sort State List>
- id string
- The provider-assigned unique ID for this managed resource.
- state
Lists PackagesPblock Firewall Localinpolicy6Sort State List[]
- id str
- The provider-assigned unique ID for this managed resource.
- state_
lists Sequence[PackagesPblock Firewall Localinpolicy6Sort State List]
- id String
- The provider-assigned unique ID for this managed resource.
- state
Lists List<Property Map>
Look up Existing PackagesPblockFirewallLocalinpolicy6Sort Resource
Get an existing PackagesPblockFirewallLocalinpolicy6Sort 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?: PackagesPblockFirewallLocalinpolicy6SortState, opts?: CustomResourceOptions): PackagesPblockFirewallLocalinpolicy6Sort@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,
packages_pblock_firewall_localinpolicy6_sort_id: Optional[str] = None,
pblock: Optional[str] = None,
scopetype: Optional[str] = None,
sortby: Optional[str] = None,
sortdirection: Optional[str] = None,
state_lists: Optional[Sequence[PackagesPblockFirewallLocalinpolicy6SortStateListArgs]] = None,
status: Optional[str] = None) -> PackagesPblockFirewallLocalinpolicy6Sortfunc GetPackagesPblockFirewallLocalinpolicy6Sort(ctx *Context, name string, id IDInput, state *PackagesPblockFirewallLocalinpolicy6SortState, opts ...ResourceOption) (*PackagesPblockFirewallLocalinpolicy6Sort, error)public static PackagesPblockFirewallLocalinpolicy6Sort Get(string name, Input<string> id, PackagesPblockFirewallLocalinpolicy6SortState? state, CustomResourceOptions? opts = null)public static PackagesPblockFirewallLocalinpolicy6Sort get(String name, Output<String> id, PackagesPblockFirewallLocalinpolicy6SortState state, CustomResourceOptions options)resources: _: type: fortimanager:PackagesPblockFirewallLocalinpolicy6Sort get: id: ${id}import {
to = fortimanager_packages_pblock_firewall_localinpolicy6_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.
- Adom string
- Comment string
- Force
Recreate string - Manual
Orders List<string> - Packages
Pblock stringFirewall Localinpolicy6Sort Id - Pblock string
- Scopetype string
- Sortby string
- Sortdirection string
- State
Lists List<PackagesPblock Firewall Localinpolicy6Sort State List> - Status string
- Adom string
- Comment string
- Force
Recreate string - Manual
Orders []string - Packages
Pblock stringFirewall Localinpolicy6Sort Id - Pblock string
- Scopetype string
- Sortby string
- Sortdirection string
- State
Lists []PackagesPblock Firewall Localinpolicy6Sort State List Args - Status string
- adom string
- comment string
- force_
recreate string - manual_
orders list(string) - packages_
pblock_ stringfirewall_ localinpolicy6_ sort_ id - pblock string
- scopetype string
- sortby string
- sortdirection string
- state_
lists list(object) - status string
- adom String
- comment String
- force
Recreate String - manual
Orders List<String> - packages
Pblock StringFirewall Localinpolicy6Sort Id - pblock String
- scopetype String
- sortby String
- sortdirection String
- state
Lists List<PackagesPblock Firewall Localinpolicy6Sort State List> - status String
- adom string
- comment string
- force
Recreate string - manual
Orders string[] - packages
Pblock stringFirewall Localinpolicy6Sort Id - pblock string
- scopetype string
- sortby string
- sortdirection string
- state
Lists PackagesPblock Firewall Localinpolicy6Sort State List[] - status string
- adom str
- comment str
- force_
recreate str - manual_
orders Sequence[str] - packages_
pblock_ strfirewall_ localinpolicy6_ sort_ id - pblock str
- scopetype str
- sortby str
- sortdirection str
- state_
lists Sequence[PackagesPblock Firewall Localinpolicy6Sort State List Args] - status str
- adom String
- comment String
- force
Recreate String - manual
Orders List<String> - packages
Pblock StringFirewall Localinpolicy6Sort Id - pblock String
- scopetype String
- sortby String
- sortdirection String
- state
Lists List<Property Map> - status String
Supporting Types
PackagesPblockFirewallLocalinpolicy6SortStateList, PackagesPblockFirewallLocalinpolicy6SortStateListArgs
- Policyid string
- Policyid string
- policyid string
- policyid String
- policyid string
- policyid str
- policyid String
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the
fortimanagerTerraform Provider.
published on Friday, Jul 31, 2026 by fortinetdev