1. Packages
  2. Fortios
  3. API Docs
  4. firewall
  5. CentralsnatmapSort
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.firewall.CentralsnatmapSort

Explore with Pulumi AI

Create CentralsnatmapSort Resource

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

Constructor syntax

new CentralsnatmapSort(name: string, args: CentralsnatmapSortArgs, opts?: CustomResourceOptions);
@overload
def CentralsnatmapSort(resource_name: str,
                       args: CentralsnatmapSortArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def CentralsnatmapSort(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 NewCentralsnatmapSort(ctx *Context, name string, args CentralsnatmapSortArgs, opts ...ResourceOption) (*CentralsnatmapSort, error)
public CentralsnatmapSort(string name, CentralsnatmapSortArgs args, CustomResourceOptions? opts = null)
public CentralsnatmapSort(String name, CentralsnatmapSortArgs args)
public CentralsnatmapSort(String name, CentralsnatmapSortArgs args, CustomResourceOptions options)
type: fortios:firewall:CentralsnatmapSort
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. CentralsnatmapSortArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. CentralsnatmapSortArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. CentralsnatmapSortArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CentralsnatmapSortArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. CentralsnatmapSortArgs
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 centralsnatmapSortResource = new Fortios.Firewall.CentralsnatmapSort("centralsnatmapSortResource", new()
{
    Sortby = "string",
    Sortdirection = "string",
    Comment = "string",
    ForceRecreate = "string",
    ManualOrders = new[]
    {
        "string",
    },
    Status = "string",
    Vdomparam = "string",
});
Copy
example, err := firewall.NewCentralsnatmapSort(ctx, "centralsnatmapSortResource", &firewall.CentralsnatmapSortArgs{
	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"),
})
Copy
var centralsnatmapSortResource = new CentralsnatmapSort("centralsnatmapSortResource", CentralsnatmapSortArgs.builder()
    .sortby("string")
    .sortdirection("string")
    .comment("string")
    .forceRecreate("string")
    .manualOrders("string")
    .status("string")
    .vdomparam("string")
    .build());
Copy
centralsnatmap_sort_resource = fortios.firewall.CentralsnatmapSort("centralsnatmapSortResource",
    sortby="string",
    sortdirection="string",
    comment="string",
    force_recreate="string",
    manual_orders=["string"],
    status="string",
    vdomparam="string")
Copy
const centralsnatmapSortResource = new fortios.firewall.CentralsnatmapSort("centralsnatmapSortResource", {
    sortby: "string",
    sortdirection: "string",
    comment: "string",
    forceRecreate: "string",
    manualOrders: ["string"],
    status: "string",
    vdomparam: "string",
});
Copy
type: fortios:firewall:CentralsnatmapSort
properties:
    comment: string
    forceRecreate: string
    manualOrders:
        - string
    sortby: string
    sortdirection: string
    status: string
    vdomparam: string
Copy

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

Sortby This property is required. string
Sortdirection This property is required. string
Comment string
ForceRecreate string
ManualOrders List<string>
Status string
Vdomparam Changes to this property will trigger replacement. string
Sortby This property is required. string
Sortdirection This property is required. string
Comment string
ForceRecreate string
ManualOrders []string
Status string
Vdomparam Changes to this property will trigger replacement. string
sortby This property is required. String
sortdirection This property is required. String
comment String
forceRecreate String
manualOrders List<String>
status String
vdomparam Changes to this property will trigger replacement. String
sortby This property is required. string
sortdirection This property is required. string
comment string
forceRecreate string
manualOrders string[]
status string
vdomparam Changes to this property will trigger replacement. string
sortby This property is required. str
sortdirection This property is required. str
comment str
force_recreate str
manual_orders Sequence[str]
status str
vdomparam Changes to this property will trigger replacement. str
sortby This property is required. String
sortdirection This property is required. String
comment String
forceRecreate String
manualOrders List<String>
status String
vdomparam Changes to this property will trigger replacement. String

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
StatePolicyLists List<Pulumiverse.Fortios.Firewall.Outputs.CentralsnatmapSortStatePolicyList>
Id string
The provider-assigned unique ID for this managed resource.
StatePolicyLists []CentralsnatmapSortStatePolicyList
id String
The provider-assigned unique ID for this managed resource.
statePolicyLists List<CentralsnatmapSortStatePolicyList>
id string
The provider-assigned unique ID for this managed resource.
statePolicyLists CentralsnatmapSortStatePolicyList[]
id str
The provider-assigned unique ID for this managed resource.
state_policy_lists Sequence[CentralsnatmapSortStatePolicyList]
id String
The provider-assigned unique ID for this managed resource.
statePolicyLists List<Property Map>

Look up Existing CentralsnatmapSort Resource

Get an existing CentralsnatmapSort 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?: CentralsnatmapSortState, opts?: CustomResourceOptions): CentralsnatmapSort
@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[CentralsnatmapSortStatePolicyListArgs]] = None,
        status: Optional[str] = None,
        vdomparam: Optional[str] = None) -> CentralsnatmapSort
func GetCentralsnatmapSort(ctx *Context, name string, id IDInput, state *CentralsnatmapSortState, opts ...ResourceOption) (*CentralsnatmapSort, error)
public static CentralsnatmapSort Get(string name, Input<string> id, CentralsnatmapSortState? state, CustomResourceOptions? opts = null)
public static CentralsnatmapSort get(String name, Output<String> id, CentralsnatmapSortState state, CustomResourceOptions options)
resources:  _:    type: fortios:firewall:CentralsnatmapSort    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Comment string
ForceRecreate string
ManualOrders List<string>
Sortby string
Sortdirection string
StatePolicyLists List<Pulumiverse.Fortios.Firewall.Inputs.CentralsnatmapSortStatePolicyList>
Status string
Vdomparam Changes to this property will trigger replacement. string
Comment string
ForceRecreate string
ManualOrders []string
Sortby string
Sortdirection string
StatePolicyLists []CentralsnatmapSortStatePolicyListArgs
Status string
Vdomparam Changes to this property will trigger replacement. string
comment String
forceRecreate String
manualOrders List<String>
sortby String
sortdirection String
statePolicyLists List<CentralsnatmapSortStatePolicyList>
status String
vdomparam Changes to this property will trigger replacement. String
comment string
forceRecreate string
manualOrders string[]
sortby string
sortdirection string
statePolicyLists CentralsnatmapSortStatePolicyList[]
status string
vdomparam Changes to this property will trigger replacement. string
comment str
force_recreate str
manual_orders Sequence[str]
sortby str
sortdirection str
state_policy_lists Sequence[CentralsnatmapSortStatePolicyListArgs]
status str
vdomparam Changes to this property will trigger replacement. str
comment String
forceRecreate String
manualOrders List<String>
sortby String
sortdirection String
statePolicyLists List<Property Map>
status String
vdomparam Changes to this property will trigger replacement. String

Supporting Types

CentralsnatmapSortStatePolicyList
, CentralsnatmapSortStatePolicyListArgs

Policyid string
Policyid string
policyid String
policyid string
policyid String

Package Details

Repository
fortios pulumiverse/pulumi-fortios
License
Apache-2.0
Notes
This Pulumi package is based on the fortios Terraform Provider.