Viewing docs for wavefront 5.1.0
published on Wednesday, Jan 21, 2026 by vmware
published on Wednesday, Jan 21, 2026 by vmware
Viewing docs for wavefront 5.1.0
published on Wednesday, Jan 21, 2026 by vmware
published on Wednesday, Jan 21, 2026 by vmware
Use this data source to get information for a given user by email from Wavefront.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";
// Get the info for user "example.user@example.com"
const example = wavefront.getUser({
email: "example.user@example.com",
});
import pulumi
import pulumi_wavefront as wavefront
# Get the info for user "example.user@example.com"
example = wavefront.get_user(email="example.user@example.com")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/wavefront/v5/wavefront"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Get the info for user "example.user@example.com"
_, err := wavefront.LookupUser(ctx, &wavefront.LookupUserArgs{
Email: "example.user@example.com",
}, 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 the info for user "example.user@example.com"
var example = Wavefront.GetUser.Invoke(new()
{
Email = "example.user@example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.wavefront.WavefrontFunctions;
import com.pulumi.wavefront.inputs.GetUserArgs;
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 the info for user "example.user@example.com"
final var example = WavefrontFunctions.getUser(GetUserArgs.builder()
.email("example.user@example.com")
.build());
}
}
variables:
# Get the info for user "example.user@example.com"
example:
fn::invoke:
function: wavefront:getUser
arguments:
email: example.user@example.com
Using getUser
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 getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>def get_user(email: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(email: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput> Note: This function is named LookupUser in the Go SDK.
public static class GetUser
{
public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
fn::invoke:
function: wavefront:index/getUser:getUser
arguments:
# arguments dictionaryThe following arguments are supported:
getUser Result
The following output properties are available:
- Customer string
- The customer the user is associated with.
- Email string
- Id string
- Last
Successful doubleLogin - When the user last logged in to Wavefront.
- Permissions List<string>
- List of permissions granted to a user.
- User
Group 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
- Id string
- Last
Successful float64Login - When the user last logged in to Wavefront.
- Permissions []string
- List of permissions granted to a user.
- User
Group []stringIds - List of User Group Ids the user is a member of.
- customer String
- The customer the user is associated with.
- email String
- id String
- last
Successful DoubleLogin - When the user last logged in to Wavefront.
- permissions List<String>
- List of permissions granted to a user.
- user
Group 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
- id string
- last
Successful numberLogin - When the user last logged in to Wavefront.
- permissions string[]
- List of permissions granted to a user.
- user
Group string[]Ids - List of User Group Ids the user is a member of.
- customer str
- The customer the user is associated with.
- email str
- id str
- last_
successful_ floatlogin - 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
- id String
- last
Successful NumberLogin - When the user last logged in to Wavefront.
- permissions List<String>
- List of permissions granted to a user.
- user
Group List<String>Ids - List of User Group Ids the user is a member of.
Package Details
- Repository
- Wavefront vmware/terraform-provider-wavefront
- License
- Notes
- This Pulumi package is based on the
wavefrontTerraform Provider.
Viewing docs for wavefront 5.1.0
published on Wednesday, Jan 21, 2026 by vmware
published on Wednesday, Jan 21, 2026 by vmware
