Wavefront v3.1.8 published on Tuesday, Mar 4, 2025 by Pulumi
wavefront.getUsers
Explore with Pulumi AI
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({});
import pulumi
import pulumi_wavefront as wavefront
# Get all users
users = wavefront.get_users()
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
	})
}
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();
});
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();
    }
}
variables:
  # Get all users
  users:
    fn::invoke:
      function: wavefront:getUsers
      arguments: {}
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)
public static Output<GetUsersResult> getUsers(InvokeOptions options)
fn::invoke:
  function: wavefront:index/getUsers:getUsers
  arguments:
    # arguments dictionarygetUsers Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Users
List<GetUsers User> 
- List of all users in Wavefront.
- Id string
- The provider-assigned unique ID for this managed resource.
- Users
[]GetUsers User 
- List of all users in Wavefront.
- id String
- The provider-assigned unique ID for this managed resource.
- users
List<GetUsers User> 
- List of all users in Wavefront.
- id string
- The provider-assigned unique ID for this managed resource.
- users
GetUsers User[] 
- List of all users in Wavefront.
- id str
- The provider-assigned unique ID for this managed resource.
- users
Sequence[GetUsers User] 
- 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 string
- The customer the user is associated with.
- Email string
- LastSuccessful intLogin 
- When the user last logged in to Wavefront.
- Permissions List<string>
- List of permissions granted to a user.
- UserGroup List<string>Ids 
- List of User Group Ids the user is a member of.
- Customer string
- The customer the user is associated with.
- Email string
- LastSuccessful intLogin 
- When the user last logged in to Wavefront.
- Permissions []string
- List of permissions granted to a user.
- UserGroup []stringIds 
- List of User Group Ids the user is a member of.
- customer String
- The customer the user is associated with.
- email String
- lastSuccessful IntegerLogin 
- When the user last logged in to Wavefront.
- permissions List<String>
- List of permissions granted to a user.
- userGroup List<String>Ids 
- List of User Group Ids the user is a member of.
- customer string
- The customer the user is associated with.
- email string
- lastSuccessful numberLogin 
- When the user last logged in to Wavefront.
- permissions string[]
- List of permissions granted to a user.
- userGroup string[]Ids 
- List of User Group Ids the user is a member of.
- customer str
- The customer the user is associated with.
- email str
- last_successful_ intlogin 
- When the user last logged in to Wavefront.
- permissions Sequence[str]
- List of permissions granted to a user.
- user_group_ Sequence[str]ids 
- List of User Group Ids the user is a member of.
- customer String
- The customer the user is associated with.
- email String
- lastSuccessful NumberLogin 
- When the user last logged in to Wavefront.
- permissions List<String>
- List of permissions granted to a user.
- userGroup List<String>Ids 
- 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 wavefrontTerraform Provider.