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

fortios.system/dhcp.getServerlist

Explore with Pulumi AI

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

Provides a list of fortios.system/dhcp.Server.

Using getServerlist

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 getServerlist(args: GetServerlistArgs, opts?: InvokeOptions): Promise<GetServerlistResult>
function getServerlistOutput(args: GetServerlistOutputArgs, opts?: InvokeOptions): Output<GetServerlistResult>
Copy
def get_serverlist(filter: Optional[str] = None,
                   vdomparam: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetServerlistResult
def get_serverlist_output(filter: Optional[pulumi.Input[str]] = None,
                   vdomparam: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetServerlistResult]
Copy
func GetServerlist(ctx *Context, args *GetServerlistArgs, opts ...InvokeOption) (*GetServerlistResult, error)
func GetServerlistOutput(ctx *Context, args *GetServerlistOutputArgs, opts ...InvokeOption) GetServerlistResultOutput
Copy

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

public static class GetServerlist 
{
    public static Task<GetServerlistResult> InvokeAsync(GetServerlistArgs args, InvokeOptions? opts = null)
    public static Output<GetServerlistResult> Invoke(GetServerlistInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServerlistResult> getServerlist(GetServerlistArgs args, InvokeOptions options)
public static Output<GetServerlistResult> getServerlist(GetServerlistArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fortios:system/dhcp/getServerlist:getServerlist
  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.

getServerlist Result

The following output properties are available:

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