1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. system/snmp
  6. getCommunitylist
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.system/snmp.getCommunitylist

Explore with Pulumi AI

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

Provides a list of fortios.system/snmp.Community.

Using getCommunitylist

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 getCommunitylist(args: GetCommunitylistArgs, opts?: InvokeOptions): Promise<GetCommunitylistResult>
function getCommunitylistOutput(args: GetCommunitylistOutputArgs, opts?: InvokeOptions): Output<GetCommunitylistResult>
Copy
def get_communitylist(filter: Optional[str] = None,
                      vdomparam: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetCommunitylistResult
def get_communitylist_output(filter: Optional[pulumi.Input[str]] = None,
                      vdomparam: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetCommunitylistResult]
Copy
func GetCommunitylist(ctx *Context, args *GetCommunitylistArgs, opts ...InvokeOption) (*GetCommunitylistResult, error)
func GetCommunitylistOutput(ctx *Context, args *GetCommunitylistOutputArgs, opts ...InvokeOption) GetCommunitylistResultOutput
Copy

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

public static class GetCommunitylist 
{
    public static Task<GetCommunitylistResult> InvokeAsync(GetCommunitylistArgs args, InvokeOptions? opts = null)
    public static Output<GetCommunitylistResult> Invoke(GetCommunitylistInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCommunitylistResult> getCommunitylist(GetCommunitylistArgs args, InvokeOptions options)
public static Output<GetCommunitylistResult> getCommunitylist(GetCommunitylistArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fortios:system/snmp/getCommunitylist:getCommunitylist
  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.

getCommunitylist Result

The following output properties are available:

Fosidlists List<int>
A list of the fortios.system/snmp.Community.
Id string
The provider-assigned unique ID for this managed resource.
Filter string
Vdomparam string
Fosidlists []int
A list of the fortios.system/snmp.Community.
Id string
The provider-assigned unique ID for this managed resource.
Filter string
Vdomparam string
fosidlists List<Integer>
A list of the fortios.system/snmp.Community.
id String
The provider-assigned unique ID for this managed resource.
filter String
vdomparam String
fosidlists number[]
A list of the fortios.system/snmp.Community.
id string
The provider-assigned unique ID for this managed resource.
filter string
vdomparam string
fosidlists Sequence[int]
A list of the fortios.system/snmp.Community.
id str
The provider-assigned unique ID for this managed resource.
filter str
vdomparam str
fosidlists List<Number>
A list of the fortios.system/snmp.Community.
id String
The provider-assigned unique ID for this managed resource.
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