1. Registry
  2. Packages
  3. Formal Provider
  4. API Docs
  5. getGroups
Viewing docs for Formal v1.2.11
published on Thursday, Nov 19, 2026 by Formal
formal logo Formal
Viewing docs for Formal v1.2.11
published on Thursday, Nov 19, 2026 by Formal

    Data source for listing all Groups in Formal.

    Using getGroups

    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 getGroups(opts?: InvokeOptions): Promise<GetGroupsResult>
    function getGroupsOutput(opts?: InvokeOutputOptions): Output<GetGroupsResult>
    def get_groups(opts: Optional[InvokeOptions] = None) -> GetGroupsResult
    def get_groups_output(opts: Optional[InvokeOutputOptions] = None) -> Output[GetGroupsResult]
    func GetGroups(ctx *Context, opts ...InvokeOption) (*GetGroupsResult, error)
    func GetGroupsOutput(ctx *Context, opts ...InvokeOption) GetGroupsResultOutput

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

    public static class GetGroups 
    {
        public static Task<GetGroupsResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetGroupsResult> Invoke(InvokeOptions? opts = null)
        public static Output<GetGroupsResult> Invoke(InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetGroupsResult> getGroups(InvokeOptions options)
    public static Output<GetGroupsResult> getGroups(InvokeOptions options)
    public static Output<GetGroupsResult> getGroups(InvokeOutputOptions options)
    
    fn::invoke:
      function: formal:index/getGroups:getGroups
      arguments:
        # arguments dictionary
    data "formal_get_groups" "name" {
        # arguments
    }

    getGroups Result

    The following output properties are available:

    Groups List<Formal.Pulumi.Outputs.GetGroupsGroup>
    All Groups in Formal.
    Id string
    The provider-assigned unique ID for this managed resource.
    Groups []GetGroupsGroup
    All Groups in Formal.
    Id string
    The provider-assigned unique ID for this managed resource.
    groups list(object)
    All Groups in Formal.
    id string
    The provider-assigned unique ID for this managed resource.
    groups List<GetGroupsGroup>
    All Groups in Formal.
    id String
    The provider-assigned unique ID for this managed resource.
    groups GetGroupsGroup[]
    All Groups in Formal.
    id string
    The provider-assigned unique ID for this managed resource.
    groups Sequence[GetGroupsGroup]
    All Groups in Formal.
    id str
    The provider-assigned unique ID for this managed resource.
    groups List<Property Map>
    All Groups in Formal.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GetGroupsGroup

    Description string
    Description for this Group.
    Id string
    The ID of the Group.
    Name string
    The name of the Group.
    TerminationProtection bool
    If set to true, this Group cannot be deleted.
    Description string
    Description for this Group.
    Id string
    The ID of the Group.
    Name string
    The name of the Group.
    TerminationProtection bool
    If set to true, this Group cannot be deleted.
    description string
    Description for this Group.
    id string
    The ID of the Group.
    name string
    The name of the Group.
    termination_protection bool
    If set to true, this Group cannot be deleted.
    description String
    Description for this Group.
    id String
    The ID of the Group.
    name String
    The name of the Group.
    terminationProtection Boolean
    If set to true, this Group cannot be deleted.
    description string
    Description for this Group.
    id string
    The ID of the Group.
    name string
    The name of the Group.
    terminationProtection boolean
    If set to true, this Group cannot be deleted.
    description str
    Description for this Group.
    id str
    The ID of the Group.
    name str
    The name of the Group.
    termination_protection bool
    If set to true, this Group cannot be deleted.
    description String
    Description for this Group.
    id String
    The ID of the Group.
    name String
    The name of the Group.
    terminationProtection Boolean
    If set to true, this Group cannot be deleted.

    Package Details

    Repository
    formal formalco/pulumi-formal
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the formal Terraform Provider.
    formal logo Formal
    Viewing docs for Formal v1.2.11
    published on Thursday, Nov 19, 2026 by Formal

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial