1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. getHaresources
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
proxmoxve logo
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski

    Retrieves the list of High Availability resources.

    Using getHaresources

    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 getHaresources(args: GetHaresourcesArgs, opts?: InvokeOptions): Promise<GetHaresourcesResult>
    function getHaresourcesOutput(args: GetHaresourcesOutputArgs, opts?: InvokeOptions): Output<GetHaresourcesResult>
    def get_haresources(type: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetHaresourcesResult
    def get_haresources_output(type: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetHaresourcesResult]
    func GetHaresources(ctx *Context, args *GetHaresourcesArgs, opts ...InvokeOption) (*GetHaresourcesResult, error)
    func GetHaresourcesOutput(ctx *Context, args *GetHaresourcesOutputArgs, opts ...InvokeOption) GetHaresourcesResultOutput

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

    public static class GetHaresources 
    {
        public static Task<GetHaresourcesResult> InvokeAsync(GetHaresourcesArgs args, InvokeOptions? opts = null)
        public static Output<GetHaresourcesResult> Invoke(GetHaresourcesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetHaresourcesResult> getHaresources(GetHaresourcesArgs args, InvokeOptions options)
    public static Output<GetHaresourcesResult> getHaresources(GetHaresourcesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: proxmoxve:index/getHaresources:getHaresources
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Type string
    The type of High Availability resources to fetch (vm or ct). All resources will be fetched if this option is unset.
    Type string
    The type of High Availability resources to fetch (vm or ct). All resources will be fetched if this option is unset.
    type String
    The type of High Availability resources to fetch (vm or ct). All resources will be fetched if this option is unset.
    type string
    The type of High Availability resources to fetch (vm or ct). All resources will be fetched if this option is unset.
    type str
    The type of High Availability resources to fetch (vm or ct). All resources will be fetched if this option is unset.
    type String
    The type of High Availability resources to fetch (vm or ct). All resources will be fetched if this option is unset.

    getHaresources Result

    The following output properties are available:

    Id string
    The unique identifier of this resource.
    ResourceIds List<string>
    The identifiers of the High Availability resources.
    Type string
    The type of High Availability resources to fetch (vm or ct). All resources will be fetched if this option is unset.
    Id string
    The unique identifier of this resource.
    ResourceIds []string
    The identifiers of the High Availability resources.
    Type string
    The type of High Availability resources to fetch (vm or ct). All resources will be fetched if this option is unset.
    id String
    The unique identifier of this resource.
    resourceIds List<String>
    The identifiers of the High Availability resources.
    type String
    The type of High Availability resources to fetch (vm or ct). All resources will be fetched if this option is unset.
    id string
    The unique identifier of this resource.
    resourceIds string[]
    The identifiers of the High Availability resources.
    type string
    The type of High Availability resources to fetch (vm or ct). All resources will be fetched if this option is unset.
    id str
    The unique identifier of this resource.
    resource_ids Sequence[str]
    The identifiers of the High Availability resources.
    type str
    The type of High Availability resources to fetch (vm or ct). All resources will be fetched if this option is unset.
    id String
    The unique identifier of this resource.
    resourceIds List<String>
    The identifiers of the High Availability resources.
    type String
    The type of High Availability resources to fetch (vm or ct). All resources will be fetched if this option is unset.

    Package Details

    Repository
    proxmoxve muhlba91/pulumi-proxmoxve
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the proxmox Terraform Provider.
    proxmoxve logo
    Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
    published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
      Try Pulumi Cloud free. Your team will thank you.