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

fortios.firewall/service.getGrouplist

Explore with Pulumi AI

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

Provides a list of fortios.firewall/service.Group.

Using getGrouplist

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 getGrouplist(args: GetGrouplistArgs, opts?: InvokeOptions): Promise<GetGrouplistResult>
function getGrouplistOutput(args: GetGrouplistOutputArgs, opts?: InvokeOptions): Output<GetGrouplistResult>
Copy
def get_grouplist(filter: Optional[str] = None,
                  vdomparam: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetGrouplistResult
def get_grouplist_output(filter: Optional[pulumi.Input[str]] = None,
                  vdomparam: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetGrouplistResult]
Copy
func GetGrouplist(ctx *Context, args *GetGrouplistArgs, opts ...InvokeOption) (*GetGrouplistResult, error)
func GetGrouplistOutput(ctx *Context, args *GetGrouplistOutputArgs, opts ...InvokeOption) GetGrouplistResultOutput
Copy

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

public static class GetGrouplist 
{
    public static Task<GetGrouplistResult> InvokeAsync(GetGrouplistArgs args, InvokeOptions? opts = null)
    public static Output<GetGrouplistResult> Invoke(GetGrouplistInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGrouplistResult> getGrouplist(GetGrouplistArgs args, InvokeOptions options)
public static Output<GetGrouplistResult> getGrouplist(GetGrouplistArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fortios:firewall/service/getGrouplist:getGrouplist
  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.

getGrouplist Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Namelists List<string>
A list of the fortios.firewall/service.Group.
Filter string
Vdomparam string
Id string
The provider-assigned unique ID for this managed resource.
Namelists []string
A list of the fortios.firewall/service.Group.
Filter string
Vdomparam string
id String
The provider-assigned unique ID for this managed resource.
namelists List<String>
A list of the fortios.firewall/service.Group.
filter String
vdomparam String
id string
The provider-assigned unique ID for this managed resource.
namelists string[]
A list of the fortios.firewall/service.Group.
filter string
vdomparam string
id str
The provider-assigned unique ID for this managed resource.
namelists Sequence[str]
A list of the fortios.firewall/service.Group.
filter str
vdomparam str
id String
The provider-assigned unique ID for this managed resource.
namelists List<String>
A list of the fortios.firewall/service.Group.
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