1. Registry
  2. Packages
  3. Linode Provider
  4. API Docs
  5. getIamEntities
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
linode logo linode logo
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi

    Provides a list of all Entities on this Account. For more information, see the Linode APIv4 docs.

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const entities = linode.getIamEntities({});
    
    import pulumi
    import pulumi_linode as linode
    
    entities = linode.get_iam_entities()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v6/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.GetIamEntities(ctx, &linode.GetIamEntitiesArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var entities = Linode.GetIamEntities.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.LinodeFunctions;
    import com.pulumi.linode.inputs.GetIamEntitiesArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var entities = LinodeFunctions.getIamEntities(GetIamEntitiesArgs.builder()
                .build());
    
        }
    }
    
    variables:
      entities:
        fn::invoke:
          function: linode:getIamEntities
          arguments: {}
    
    pulumi {
      required_providers {
        linode = {
          source = "pulumi/linode"
        }
      }
    }
    
    data "linode_getiamentities" "entities" {
    }
    

    Filterable Fields

    While the filtering system is in place currently this endpoint does not have filter support for any field.

    Using getIamEntities

    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 getIamEntities(args: GetIamEntitiesArgs, opts?: InvokeOptions): Promise<GetIamEntitiesResult>
    function getIamEntitiesOutput(args: GetIamEntitiesOutputArgs, opts?: InvokeOutputOptions): Output<GetIamEntitiesResult>
    def get_iam_entities(filters: Optional[Sequence[GetIamEntitiesFilter]] = None,
                         order: Optional[str] = None,
                         order_by: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetIamEntitiesResult
    def get_iam_entities_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetIamEntitiesFilterArgs]]]] = None,
                         order: pulumi.Input[Optional[str]] = None,
                         order_by: pulumi.Input[Optional[str]] = None,
                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetIamEntitiesResult]
    func GetIamEntities(ctx *Context, args *GetIamEntitiesArgs, opts ...InvokeOption) (*GetIamEntitiesResult, error)
    func GetIamEntitiesOutput(ctx *Context, args *GetIamEntitiesOutputArgs, opts ...InvokeOption) GetIamEntitiesResultOutput

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

    public static class GetIamEntities 
    {
        public static Task<GetIamEntitiesResult> InvokeAsync(GetIamEntitiesArgs args, InvokeOptions? opts = null)
        public static Output<GetIamEntitiesResult> Invoke(GetIamEntitiesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetIamEntitiesResult> Invoke(GetIamEntitiesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIamEntitiesResult> getIamEntities(GetIamEntitiesArgs args, InvokeOptions options)
    public static Output<GetIamEntitiesResult> getIamEntities(GetIamEntitiesArgs args, InvokeOptions options)
    public static Output<GetIamEntitiesResult> getIamEntities(GetIamEntitiesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: linode:index/getIamEntities:getIamEntities
      arguments:
        # arguments dictionary
    data "linode_get_iam_entities" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetIamEntitiesFilter>
    Order string
    The order in which results should be returned. (asc, desc; default asc)
    OrderBy string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    Filters []GetIamEntitiesFilter
    Order string
    The order in which results should be returned. (asc, desc; default asc)
    OrderBy string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters list(object)
    order string
    The order in which results should be returned. (asc, desc; default asc)
    order_by string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters List<GetIamEntitiesFilter>
    order String
    The order in which results should be returned. (asc, desc; default asc)
    orderBy String
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters GetIamEntitiesFilter[]
    order string
    The order in which results should be returned. (asc, desc; default asc)
    orderBy string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters Sequence[GetIamEntitiesFilter]
    order str
    The order in which results should be returned. (asc, desc; default asc)
    order_by str
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters List<Property Map>
    order String
    The order in which results should be returned. (asc, desc; default asc)
    orderBy String
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

    getIamEntities Result

    The following output properties are available:

    Entities List<GetIamEntitiesEntity>
    (Nested Attribute List) The returned list of entities. Referenced by index (e.g. entities[0].id).
    Id string
    A unique identifier for each entity.
    Filters List<GetIamEntitiesFilter>
    Order string
    OrderBy string
    Entities []GetIamEntitiesEntity
    (Nested Attribute List) The returned list of entities. Referenced by index (e.g. entities[0].id).
    Id string
    A unique identifier for each entity.
    Filters []GetIamEntitiesFilter
    Order string
    OrderBy string
    entities list(object)
    (Nested Attribute List) The returned list of entities. Referenced by index (e.g. entities[0].id).
    id string
    A unique identifier for each entity.
    filters list(object)
    order string
    order_by string
    entities List<GetIamEntitiesEntity>
    (Nested Attribute List) The returned list of entities. Referenced by index (e.g. entities[0].id).
    id String
    A unique identifier for each entity.
    filters List<GetIamEntitiesFilter>
    order String
    orderBy String
    entities GetIamEntitiesEntity[]
    (Nested Attribute List) The returned list of entities. Referenced by index (e.g. entities[0].id).
    id string
    A unique identifier for each entity.
    filters GetIamEntitiesFilter[]
    order string
    orderBy string
    entities Sequence[GetIamEntitiesEntity]
    (Nested Attribute List) The returned list of entities. Referenced by index (e.g. entities[0].id).
    id str
    A unique identifier for each entity.
    filters Sequence[GetIamEntitiesFilter]
    order str
    order_by str
    entities List<Property Map>
    (Nested Attribute List) The returned list of entities. Referenced by index (e.g. entities[0].id).
    id String
    A unique identifier for each entity.
    filters List<Property Map>
    order String
    orderBy String

    Supporting Types

    GetIamEntitiesEntity

    Id int
    A unique identifier for each entity.
    Label string
    A unique label for each entity.
    Type string
    The type for each entity. (eg. Volume)
    Id int
    A unique identifier for each entity.
    Label string
    A unique label for each entity.
    Type string
    The type for each entity. (eg. Volume)
    id number
    A unique identifier for each entity.
    label string
    A unique label for each entity.
    type string
    The type for each entity. (eg. Volume)
    id Integer
    A unique identifier for each entity.
    label String
    A unique label for each entity.
    type String
    The type for each entity. (eg. Volume)
    id number
    A unique identifier for each entity.
    label string
    A unique label for each entity.
    type string
    The type for each entity. (eg. Volume)
    id int
    A unique identifier for each entity.
    label str
    A unique label for each entity.
    type str
    The type for each entity. (eg. Volume)
    id Number
    A unique identifier for each entity.
    label String
    A unique label for each entity.
    type String
    The type for each entity. (eg. Volume)

    GetIamEntitiesFilter

    Name string
    The name of the attribute to filter on.
    Values List<string>
    The value(s) to be used in the filter.
    MatchBy string
    The type of comparison to use for this filter.
    Name string
    The name of the attribute to filter on.
    Values []string
    The value(s) to be used in the filter.
    MatchBy string
    The type of comparison to use for this filter.
    name string
    The name of the attribute to filter on.
    values list(string)
    The value(s) to be used in the filter.
    match_by string
    The type of comparison to use for this filter.
    name String
    The name of the attribute to filter on.
    values List<String>
    The value(s) to be used in the filter.
    matchBy String
    The type of comparison to use for this filter.
    name string
    The name of the attribute to filter on.
    values string[]
    The value(s) to be used in the filter.
    matchBy string
    The type of comparison to use for this filter.
    name str
    The name of the attribute to filter on.
    values Sequence[str]
    The value(s) to be used in the filter.
    match_by str
    The type of comparison to use for this filter.
    name String
    The name of the attribute to filter on.
    values List<String>
    The value(s) to be used in the filter.
    matchBy String
    The type of comparison to use for this filter.

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the linode Terraform Provider.
    linode logo linode logo
    Viewing docs for Linode v6.6.0
    published on Tuesday, Sep 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial