1. Packages
  2. Packages
  3. Freebox
  4. API Docs
  5. dhcp
  6. getLeases
Viewing docs for Freebox v0.3.11
published on Friday, Jul 3, 2026 by OlivierPaquien
freebox logo
Viewing docs for Freebox v0.3.11
published on Friday, Jul 3, 2026 by OlivierPaquien

    Using getLeases

    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 getLeases(args: GetLeasesArgs, opts?: InvokeOptions): Promise<GetLeasesResult>
    function getLeasesOutput(args: GetLeasesOutputArgs, opts?: InvokeOptions): Output<GetLeasesResult>
    def get_leases(opts: Optional[InvokeOptions] = None) -> GetLeasesResult
    def get_leases_output(opts: Optional[InvokeOptions] = None) -> Output[GetLeasesResult]
    func GetLeases(ctx *Context, args *GetLeasesArgs, opts ...InvokeOption) (*GetLeasesResult, error)
    func GetLeasesOutput(ctx *Context, args *GetLeasesOutputArgs, opts ...InvokeOption) GetLeasesResultOutput

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

    public static class GetLeases 
    {
        public static Task<GetLeasesResult> InvokeAsync(GetLeasesArgs args, InvokeOptions? opts = null)
        public static Output<GetLeasesResult> Invoke(GetLeasesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLeasesResult> getLeases(GetLeasesArgs args, InvokeOptions options)
    public static Output<GetLeasesResult> getLeases(GetLeasesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: freebox:dhcp:getLeases
      arguments:
        # arguments dictionary
    data "freebox_dhcp_getleases" "name" {
        # arguments
    }

    The following arguments are supported:

    getLeases Result

    The following output properties are available:

    Supporting Types

    DhcpLeaseInfo

    Comment string
    Hostname string
    Ip string
    LeaseId string
    Mac string
    Comment string
    Hostname string
    Ip string
    LeaseId string
    Mac string
    comment string
    hostname string
    ip string
    lease_id string
    mac string
    comment String
    hostname String
    ip String
    leaseId String
    mac String
    comment string
    hostname string
    ip string
    leaseId string
    mac string
    comment str
    hostname str
    ip str
    lease_id str
    mac str
    comment String
    hostname String
    ip String
    leaseId String
    mac String

    Package Details

    Repository
    freebox
    License
    freebox logo
    Viewing docs for Freebox v0.3.11
    published on Friday, Jul 3, 2026 by OlivierPaquien

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial