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

fortios.firewall/consolidated.getPolicylist

Explore with Pulumi AI

Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

Provides a list of fortios.firewall/consolidated.Policy.

Using getPolicylist

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getPolicylist(args: GetPolicylistArgs, opts?: InvokeOptions): Promise<GetPolicylistResult>
function getPolicylistOutput(args: GetPolicylistOutputArgs, opts?: InvokeOptions): Output<GetPolicylistResult>
Copy
def get_policylist(filter: Optional[str] = None,
                   vdomparam: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetPolicylistResult
def get_policylist_output(filter: Optional[pulumi.Input[str]] = None,
                   vdomparam: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetPolicylistResult]
Copy
func GetPolicylist(ctx *Context, args *GetPolicylistArgs, opts ...InvokeOption) (*GetPolicylistResult, error)
func GetPolicylistOutput(ctx *Context, args *GetPolicylistOutputArgs, opts ...InvokeOption) GetPolicylistResultOutput
Copy

> Note: This function is named GetPolicylist in the Go SDK.

public static class GetPolicylist 
{
    public static Task<GetPolicylistResult> InvokeAsync(GetPolicylistArgs args, InvokeOptions? opts = null)
    public static Output<GetPolicylistResult> Invoke(GetPolicylistInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPolicylistResult> getPolicylist(GetPolicylistArgs args, InvokeOptions options)
public static Output<GetPolicylistResult> getPolicylist(GetPolicylistArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fortios:firewall/consolidated/getPolicylist:getPolicylist
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Filter string
A filter used to scope the list. See Filter results of datasource.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Filter string
A filter used to scope the list. See Filter results of datasource.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
filter String
A filter used to scope the list. See Filter results of datasource.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
filter string
A filter used to scope the list. See Filter results of datasource.
vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
filter str
A filter used to scope the list. See Filter results of datasource.
vdomparam Changes to this property will trigger replacement. str
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
filter String
A filter used to scope the list. See Filter results of datasource.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

getPolicylist Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Policyidlists List<int>
A list of the fortios.firewall/consolidated.Policy.
Filter string
Vdomparam string
Id string
The provider-assigned unique ID for this managed resource.
Policyidlists []int
A list of the fortios.firewall/consolidated.Policy.
Filter string
Vdomparam string
id String
The provider-assigned unique ID for this managed resource.
policyidlists List<Integer>
A list of the fortios.firewall/consolidated.Policy.
filter String
vdomparam String
id string
The provider-assigned unique ID for this managed resource.
policyidlists number[]
A list of the fortios.firewall/consolidated.Policy.
filter string
vdomparam string
id str
The provider-assigned unique ID for this managed resource.
policyidlists Sequence[int]
A list of the fortios.firewall/consolidated.Policy.
filter str
vdomparam str
id String
The provider-assigned unique ID for this managed resource.
policyidlists List<Number>
A list of the fortios.firewall/consolidated.Policy.
filter String
vdomparam String

Package Details

Repository
fortios pulumiverse/pulumi-fortios
License
Apache-2.0
Notes
This Pulumi package is based on the fortios Terraform Provider.
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse