1. Packages
  2. Grafana Cloud
  3. API Docs
  4. getUsers
Grafana v0.4.2 published on Monday, Apr 15, 2024 by pulumiverse

grafana.getUsers

Explore with Pulumi AI

grafana logo
Grafana v0.4.2 published on Monday, Apr 15, 2024 by pulumiverse

    Using getUsers

    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 getUsers(opts?: InvokeOptions): Promise<GetUsersResult>
    function getUsersOutput(opts?: InvokeOptions): Output<GetUsersResult>
    def get_users(opts: Optional[InvokeOptions] = None) -> GetUsersResult
    def get_users_output(opts: Optional[InvokeOptions] = None) -> Output[GetUsersResult]
    func GetUsers(ctx *Context, opts ...InvokeOption) (*GetUsersResult, error)
    func GetUsersOutput(ctx *Context, opts ...InvokeOption) GetUsersResultOutput

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

    public static class GetUsers 
    {
        public static Task<GetUsersResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetUsersResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUsersResult> getUsers(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: grafana:index/getUsers:getUsers
      arguments:
        # arguments dictionary

    getUsers Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Users List<Pulumiverse.Grafana.Outputs.GetUsersUser>
    Id string
    The provider-assigned unique ID for this managed resource.
    Users []GetUsersUser
    id String
    The provider-assigned unique ID for this managed resource.
    users List<GetUsersUser>
    id string
    The provider-assigned unique ID for this managed resource.
    users GetUsersUser[]
    id str
    The provider-assigned unique ID for this managed resource.
    users Sequence[GetUsersUser]
    id String
    The provider-assigned unique ID for this managed resource.
    users List<Property Map>

    Supporting Types

    GetUsersUser

    Email string
    The user's email.
    Id int
    The user ID.
    IsAdmin bool
    Whether the user is admin or not.
    Login string
    The user's login.
    Name string
    The user's name.
    Email string
    The user's email.
    Id int
    The user ID.
    IsAdmin bool
    Whether the user is admin or not.
    Login string
    The user's login.
    Name string
    The user's name.
    email String
    The user's email.
    id Integer
    The user ID.
    isAdmin Boolean
    Whether the user is admin or not.
    login String
    The user's login.
    name String
    The user's name.
    email string
    The user's email.
    id number
    The user ID.
    isAdmin boolean
    Whether the user is admin or not.
    login string
    The user's login.
    name string
    The user's name.
    email str
    The user's email.
    id int
    The user ID.
    is_admin bool
    Whether the user is admin or not.
    login str
    The user's login.
    name str
    The user's name.
    email String
    The user's email.
    id Number
    The user ID.
    isAdmin Boolean
    Whether the user is admin or not.
    login String
    The user's login.
    name String
    The user's name.

    Package Details

    Repository
    grafana pulumiverse/pulumi-grafana
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the grafana Terraform Provider.
    grafana logo
    Grafana v0.4.2 published on Monday, Apr 15, 2024 by pulumiverse