Wavefront

Pulumi Official
Package maintained by Pulumi
v1.1.1 published on Wednesday, Mar 30, 2022 by Pulumi

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/v3/go/pulumi"
)

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

Coming soon!

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());

Coming soon!

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)

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

public static class GetDefaultUserGroup 
{
    public static Task<GetDefaultUserGroupResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetDefaultUserGroupResult> getDefaultUserGroup(InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: wavefront:index/getDefaultUserGroup:getDefaultUserGroup
  Arguments:
    # Arguments dictionary

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.

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.

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.

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.

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.

id str

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.

id String

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.