The Automation API is now available. No CLI. No human-in-the-loop. Just your code. Learn More

GetDefaultUserGroup

Use this data source to get the Group ID of the Everyone group in Wavefront.

Example Usage

using Pulumi;
using Wavefront = Pulumi.Wavefront;

class MyStack : Stack
{
    public MyStack()
    {
        var everyoneGroup = Output.Create(Wavefront.GetDefaultUserGroup.InvokeAsync());
    }

}
package main

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

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := wavefront.GetDefaultUserGroup(ctx, nil, nil)
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_wavefront as wavefront

everyone_group = wavefront.get_default_user_group()
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";

// Get the default user group "Everyone"
const everyoneGroup = pulumi.output(wavefront.getDefaultUserGroup({ async: true }));

Using GetDefaultUserGroup

function getDefaultUserGroup(opts?: InvokeOptions): Promise<GetDefaultUserGroupResult>
def get_default_user_group(opts: Optional[InvokeOptions] = None) -> GetDefaultUserGroupResult
func GetDefaultUserGroup(ctx *Context, opts ...InvokeOption) (*GetDefaultUserGroupResult, error)
public static class GetDefaultUserGroup {
    public static Task<GetDefaultUserGroupResult> InvokeAsync(InvokeOptions? opts = null)
}

GetDefaultUserGroup Result

The following output properties are available:

GroupId string

Set to the Group ID of the Everyone group, suitable for referencing in other resources that support group memberships. s

Id string

The provider-assigned unique ID for this managed resource.

GroupId string

Set to the Group ID of the Everyone group, suitable for referencing in other resources that support group memberships. s

Id string

The provider-assigned unique ID for this managed resource.

groupId string

Set to the Group ID of the Everyone group, suitable for referencing in other resources that support group memberships. s

id string

The provider-assigned unique ID for this managed resource.

group_id str

Set to the Group ID of the Everyone group, suitable for referencing in other resources that support group memberships. s

id str

The provider-assigned unique ID for this managed resource.

Package Details

Repository
https://github.com/pulumi/pulumi-wavefront
License
Apache-2.0
Notes
This Pulumi package is based on the wavefront Terraform Provider.