wavefront logo
Wavefront v1.4.0, May 19 23

wavefront.getUsers

Explore with Pulumi AI

Use this data source to get all users in Wavefront.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Wavefront = Pulumi.Wavefront;

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

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := wavefront.GetUsers(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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) {
        final var users = WavefrontFunctions.getUsers();

    }
}
import pulumi
import pulumi_wavefront as wavefront

users = wavefront.get_users()
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";

const users = wavefront.getUsers({});
variables:
  users:
    fn::invoke:
      Function: wavefront:getUsers
      Arguments: {}

Using getUsers

function getUsers(opts?: InvokeOptions): Promise<GetUsersResult>
def get_users(opts: Optional[InvokeOptions] = None) -> GetUsersResult
func GetUsers(ctx *Context, opts ...InvokeOption) (*GetUsersResult, error)

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

public static class GetUsers 
{
    public static Task<GetUsersResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetUsersResult> getUsers(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: wavefront: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<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 string

The customer the user is associated with.

Email string
LastSuccessfulLogin int

When the user last logged in to Wavefront.

Permissions List<string>

List of permissions granted to a user.

UserGroupIds List<string>

List of User Group Ids the user is a member of.

Customer string

The customer the user is associated with.

Email string
LastSuccessfulLogin int

When the user last logged in to Wavefront.

Permissions []string

List of permissions granted to a user.

UserGroupIds []string

List of User Group Ids the user is a member of.

customer String

The customer the user is associated with.

email String
lastSuccessfulLogin Integer

When the user last logged in to Wavefront.

permissions List<String>

List of permissions granted to a user.

userGroupIds List<String>

List of User Group Ids the user is a member of.

customer string

The customer the user is associated with.

email string
lastSuccessfulLogin number

When the user last logged in to Wavefront.

permissions string[]

List of permissions granted to a user.

userGroupIds string[]

List of User Group Ids the user is a member of.

customer str

The customer the user is associated with.

email str
last_successful_login int

When the user last logged in to Wavefront.

permissions Sequence[str]

List of permissions granted to a user.

user_group_ids Sequence[str]

List of User Group Ids the user is a member of.

customer String

The customer the user is associated with.

email String
lastSuccessfulLogin Number

When the user last logged in to Wavefront.

permissions List<String>

List of permissions granted to a user.

userGroupIds 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.