1. Packages
  2. Wavefront
  3. API Docs
  4. getDefaultUserGroup
Wavefront v1.4.0 published on Friday, May 19, 2023 by Pulumi

wavefront.getDefaultUserGroup

Explore with Pulumi AI

wavefront logo
Wavefront v1.4.0 published on Friday, May 19, 2023 by Pulumi

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

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Wavefront = Pulumi.Wavefront;
    
    return await Deployment.RunAsync(() => 
    {
        var everyoneGroup = Wavefront.GetDefaultUserGroup.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.GetDefaultUserGroup(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 everyoneGroup = WavefrontFunctions.getDefaultUserGroup();
    
        }
    }
    
    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";
    
    const everyoneGroup = wavefront.getDefaultUserGroup({});
    
    variables:
      everyoneGroup:
        fn::invoke:
          Function: wavefront:getDefaultUserGroup
          Arguments: {}
    

    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
    Wavefront pulumi/pulumi-wavefront
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the wavefront Terraform Provider.

    wavefront logo
    Wavefront v1.4.0 published on Friday, May 19, 2023 by Pulumi