1. Packages
  2. Wavefront Provider
  3. API Docs
  4. getUsers
Wavefront v3.1.8 published on Tuesday, Mar 4, 2025 by Pulumi

wavefront.getUsers

Explore with Pulumi AI

Wavefront v3.1.8 published on Tuesday, Mar 4, 2025 by Pulumi

Use this data source to get all users in Wavefront.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";

// Get all users
const users = wavefront.getUsers({});
Copy
import pulumi
import pulumi_wavefront as wavefront

# Get all users
users = wavefront.get_users()
Copy
package main

import (
	"github.com/pulumi/pulumi-wavefront/sdk/v3/go/wavefront"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Get all users
		_, err := wavefront.GetUsers(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Wavefront = Pulumi.Wavefront;

return await Deployment.RunAsync(() => 
{
    // Get all users
    var users = Wavefront.GetUsers.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.wavefront.WavefrontFunctions;
import java.util.List;
import java.util.ArrayList;
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) {
        // Get all users
        final var users = WavefrontFunctions.getUsers();

    }
}
Copy
variables:
  # Get all users
  users:
    fn::invoke:
      function: wavefront:getUsers
      arguments: {}
Copy

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

> 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)
}
Copy
public static CompletableFuture<GetUsersResult> getUsers(InvokeOptions options)
public static Output<GetUsersResult> getUsers(InvokeOptions options)
Copy
fn::invoke:
  function: wavefront:index/getUsers:getUsers
  arguments:
    # arguments dictionary
Copy

getUsers Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Users List<GetUsersUser>
List of all users in Wavefront.
Id string
The provider-assigned unique ID for this managed resource.
Users []GetUsersUser
List of all users in Wavefront.
id String
The provider-assigned unique ID for this managed resource.
users List<GetUsersUser>
List of all users in Wavefront.
id string
The provider-assigned unique ID for this managed resource.
users GetUsersUser[]
List of all users in Wavefront.
id str
The provider-assigned unique ID for this managed resource.
users Sequence[GetUsersUser]
List of all users in Wavefront.
id String
The provider-assigned unique ID for this managed resource.
users List<Property Map>
List of all users in Wavefront.

Supporting Types

GetUsersUser

Customer This property is required. string
The customer the user is associated with.
Email This property is required. string
LastSuccessfulLogin This property is required. int
When the user last logged in to Wavefront.
Permissions This property is required. List<string>
List of permissions granted to a user.
UserGroupIds This property is required. List<string>
List of User Group Ids the user is a member of.
Customer This property is required. string
The customer the user is associated with.
Email This property is required. string
LastSuccessfulLogin This property is required. int
When the user last logged in to Wavefront.
Permissions This property is required. []string
List of permissions granted to a user.
UserGroupIds This property is required. []string
List of User Group Ids the user is a member of.
customer This property is required. String
The customer the user is associated with.
email This property is required. String
lastSuccessfulLogin This property is required. Integer
When the user last logged in to Wavefront.
permissions This property is required. List<String>
List of permissions granted to a user.
userGroupIds This property is required. List<String>
List of User Group Ids the user is a member of.
customer This property is required. string
The customer the user is associated with.
email This property is required. string
lastSuccessfulLogin This property is required. number
When the user last logged in to Wavefront.
permissions This property is required. string[]
List of permissions granted to a user.
userGroupIds This property is required. string[]
List of User Group Ids the user is a member of.
customer This property is required. str
The customer the user is associated with.
email This property is required. str
last_successful_login This property is required. int
When the user last logged in to Wavefront.
permissions This property is required. Sequence[str]
List of permissions granted to a user.
user_group_ids This property is required. Sequence[str]
List of User Group Ids the user is a member of.
customer This property is required. String
The customer the user is associated with.
email This property is required. String
lastSuccessfulLogin This property is required. Number
When the user last logged in to Wavefront.
permissions This property is required. List<String>
List of permissions granted to a user.
userGroupIds This property is required. List<String>
List of User Group Ids the user is a member of.

Package Details

Repository
Wavefront pulumi/pulumi-wavefront
License
Apache-2.0
Notes
This Pulumi package is based on the wavefront Terraform Provider.
Wavefront v3.1.8 published on Tuesday, Mar 4, 2025 by Pulumi