fortios.firewall.ProxypolicySort
Explore with Pulumi AI
Create ProxypolicySort Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProxypolicySort(name: string, args: ProxypolicySortArgs, opts?: CustomResourceOptions);
@overload
def ProxypolicySort(resource_name: str,
args: ProxypolicySortArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProxypolicySort(resource_name: str,
opts: Optional[ResourceOptions] = None,
sortby: Optional[str] = None,
sortdirection: Optional[str] = None,
comment: Optional[str] = None,
force_recreate: Optional[str] = None,
manual_orders: Optional[Sequence[str]] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewProxypolicySort(ctx *Context, name string, args ProxypolicySortArgs, opts ...ResourceOption) (*ProxypolicySort, error)
public ProxypolicySort(string name, ProxypolicySortArgs args, CustomResourceOptions? opts = null)
public ProxypolicySort(String name, ProxypolicySortArgs args)
public ProxypolicySort(String name, ProxypolicySortArgs args, CustomResourceOptions options)
type: fortios:firewall:ProxypolicySort
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 ProxypolicySortArgs
- 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 ProxypolicySortArgs
- 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 ProxypolicySortArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProxypolicySortArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProxypolicySortArgs
- 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 proxypolicySortResource = new Fortios.Firewall.ProxypolicySort("proxypolicySortResource", new()
{
Sortby = "string",
Sortdirection = "string",
Comment = "string",
ForceRecreate = "string",
ManualOrders = new[]
{
"string",
},
Status = "string",
Vdomparam = "string",
});
example, err := firewall.NewProxypolicySort(ctx, "proxypolicySortResource", &firewall.ProxypolicySortArgs{
Sortby: pulumi.String("string"),
Sortdirection: pulumi.String("string"),
Comment: pulumi.String("string"),
ForceRecreate: pulumi.String("string"),
ManualOrders: pulumi.StringArray{
pulumi.String("string"),
},
Status: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var proxypolicySortResource = new ProxypolicySort("proxypolicySortResource", ProxypolicySortArgs.builder()
.sortby("string")
.sortdirection("string")
.comment("string")
.forceRecreate("string")
.manualOrders("string")
.status("string")
.vdomparam("string")
.build());
proxypolicy_sort_resource = fortios.firewall.ProxypolicySort("proxypolicySortResource",
sortby="string",
sortdirection="string",
comment="string",
force_recreate="string",
manual_orders=["string"],
status="string",
vdomparam="string")
const proxypolicySortResource = new fortios.firewall.ProxypolicySort("proxypolicySortResource", {
sortby: "string",
sortdirection: "string",
comment: "string",
forceRecreate: "string",
manualOrders: ["string"],
status: "string",
vdomparam: "string",
});
type: fortios:firewall:ProxypolicySort
properties:
comment: string
forceRecreate: string
manualOrders:
- string
sortby: string
sortdirection: string
status: string
vdomparam: string
ProxypolicySort 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 ProxypolicySort resource accepts the following input properties:
- Sortby string
- Sortdirection string
- Comment string
- Force
Recreate string - Manual
Orders List<string> - Status string
- Vdomparam string
- Sortby string
- Sortdirection string
- Comment string
- Force
Recreate string - Manual
Orders []string - Status string
- Vdomparam string
- sortby String
- sortdirection String
- comment String
- force
Recreate String - manual
Orders List<String> - status String
- vdomparam String
- sortby string
- sortdirection string
- comment string
- force
Recreate string - manual
Orders string[] - status string
- vdomparam string
- sortby str
- sortdirection str
- comment str
- force_
recreate str - manual_
orders Sequence[str] - status str
- vdomparam str
- sortby String
- sortdirection String
- comment String
- force
Recreate String - manual
Orders List<String> - status String
- vdomparam String
Outputs
All input properties are implicitly available as output properties. Additionally, the ProxypolicySort resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Policy List<Pulumiverse.Lists Fortios. Firewall. Outputs. Proxypolicy Sort State Policy List>
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Policy []ProxypolicyLists Sort State Policy List
- id String
- The provider-assigned unique ID for this managed resource.
- state
Policy List<ProxypolicyLists Sort State Policy List>
- id string
- The provider-assigned unique ID for this managed resource.
- state
Policy ProxypolicyLists Sort State Policy List[]
- id str
- The provider-assigned unique ID for this managed resource.
- state_
policy_ Sequence[Proxypolicylists Sort State Policy List]
- id String
- The provider-assigned unique ID for this managed resource.
- state
Policy List<Property Map>Lists
Look up Existing ProxypolicySort Resource
Get an existing ProxypolicySort 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?: ProxypolicySortState, opts?: CustomResourceOptions): ProxypolicySort
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comment: Optional[str] = None,
force_recreate: Optional[str] = None,
manual_orders: Optional[Sequence[str]] = None,
sortby: Optional[str] = None,
sortdirection: Optional[str] = None,
state_policy_lists: Optional[Sequence[ProxypolicySortStatePolicyListArgs]] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None) -> ProxypolicySort
func GetProxypolicySort(ctx *Context, name string, id IDInput, state *ProxypolicySortState, opts ...ResourceOption) (*ProxypolicySort, error)
public static ProxypolicySort Get(string name, Input<string> id, ProxypolicySortState? state, CustomResourceOptions? opts = null)
public static ProxypolicySort get(String name, Output<String> id, ProxypolicySortState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Comment string
- Force
Recreate string - Manual
Orders List<string> - Sortby string
- Sortdirection string
- State
Policy List<Pulumiverse.Lists Fortios. Firewall. Inputs. Proxypolicy Sort State Policy List> - Status string
- Vdomparam string
- Comment string
- Force
Recreate string - Manual
Orders []string - Sortby string
- Sortdirection string
- State
Policy []ProxypolicyLists Sort State Policy List Args - Status string
- Vdomparam string
- comment String
- force
Recreate String - manual
Orders List<String> - sortby String
- sortdirection String
- state
Policy List<ProxypolicyLists Sort State Policy List> - status String
- vdomparam String
- comment string
- force
Recreate string - manual
Orders string[] - sortby string
- sortdirection string
- state
Policy ProxypolicyLists Sort State Policy List[] - status string
- vdomparam string
- comment str
- force_
recreate str - manual_
orders Sequence[str] - sortby str
- sortdirection str
- state_
policy_ Sequence[Proxypolicylists Sort State Policy List Args] - status str
- vdomparam str
- comment String
- force
Recreate String - manual
Orders List<String> - sortby String
- sortdirection String
- state
Policy List<Property Map>Lists - status String
- vdomparam String
Supporting Types
ProxypolicySortStatePolicyList, ProxypolicySortStatePolicyListArgs
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.