1. Registry
  2. Packages
  3. Lxd Provider
  4. API Docs
  5. getAuthIdentityProviderGroup
Viewing docs for lxd 3.1.0
published on Tuesday, Sep 15, 2026 by terraform-lxd
Viewing docs for lxd 3.1.0
published on Tuesday, Sep 15, 2026 by terraform-lxd

    # lxd.AuthIdentityProviderGroup

    Provides information about an existing LXD identity provider group.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as lxd from "@pulumi/lxd";
    
    const viewers = lxd.getAuthIdentityProviderGroup({
        name: "viewers",
    });
    
    import pulumi
    import pulumi_lxd as lxd
    
    viewers = lxd.get_auth_identity_provider_group(name="viewers")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/lxd/v3/lxd"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := lxd.LookupAuthIdentityProviderGroup(ctx, &lxd.LookupAuthIdentityProviderGroupArgs{
    			Name: "viewers",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Lxd = Pulumi.Lxd;
    
    return await Deployment.RunAsync(() => 
    {
        var viewers = Lxd.GetAuthIdentityProviderGroup.Invoke(new()
        {
            Name = "viewers",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.lxd.LxdFunctions;
    import com.pulumi.lxd.inputs.GetAuthIdentityProviderGroupArgs;
    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 viewers = LxdFunctions.getAuthIdentityProviderGroup(GetAuthIdentityProviderGroupArgs.builder()
                .name("viewers")
                .build());
    
        }
    }
    
    variables:
      viewers:
        fn::invoke:
          function: lxd:getAuthIdentityProviderGroup
          arguments:
            name: viewers
    
    Example coming soon!
    

    Using getAuthIdentityProviderGroup

    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 getAuthIdentityProviderGroup(args: GetAuthIdentityProviderGroupArgs, opts?: InvokeOptions): Promise<GetAuthIdentityProviderGroupResult>
    function getAuthIdentityProviderGroupOutput(args: GetAuthIdentityProviderGroupOutputArgs, opts?: InvokeOutputOptions): Output<GetAuthIdentityProviderGroupResult>
    def get_auth_identity_provider_group(name: Optional[str] = None,
                                         remote: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetAuthIdentityProviderGroupResult
    def get_auth_identity_provider_group_output(name: pulumi.Input[Optional[str]] = None,
                                         remote: pulumi.Input[Optional[str]] = None,
                                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetAuthIdentityProviderGroupResult]
    func LookupAuthIdentityProviderGroup(ctx *Context, args *LookupAuthIdentityProviderGroupArgs, opts ...InvokeOption) (*LookupAuthIdentityProviderGroupResult, error)
    func LookupAuthIdentityProviderGroupOutput(ctx *Context, args *LookupAuthIdentityProviderGroupOutputArgs, opts ...InvokeOption) LookupAuthIdentityProviderGroupResultOutput

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

    public static class GetAuthIdentityProviderGroup 
    {
        public static Task<GetAuthIdentityProviderGroupResult> InvokeAsync(GetAuthIdentityProviderGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetAuthIdentityProviderGroupResult> Invoke(GetAuthIdentityProviderGroupInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAuthIdentityProviderGroupResult> Invoke(GetAuthIdentityProviderGroupInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAuthIdentityProviderGroupResult> getAuthIdentityProviderGroup(GetAuthIdentityProviderGroupArgs args, InvokeOptions options)
    public static Output<GetAuthIdentityProviderGroupResult> getAuthIdentityProviderGroup(GetAuthIdentityProviderGroupArgs args, InvokeOptions options)
    public static Output<GetAuthIdentityProviderGroupResult> getAuthIdentityProviderGroup(GetAuthIdentityProviderGroupArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: lxd:index/getAuthIdentityProviderGroup:getAuthIdentityProviderGroup
      arguments:
        # arguments dictionary
    data "lxd_get_auth_identity_provider_group" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    Required - Name of the identity provider group.
    Remote string
    Optional - The remote from which the identity provider group is retrieved. If not provided, the provider's default remote is used.
    Name string
    Required - Name of the identity provider group.
    Remote string
    Optional - The remote from which the identity provider group is retrieved. If not provided, the provider's default remote is used.
    name string
    Required - Name of the identity provider group.
    remote string
    Optional - The remote from which the identity provider group is retrieved. If not provided, the provider's default remote is used.
    name String
    Required - Name of the identity provider group.
    remote String
    Optional - The remote from which the identity provider group is retrieved. If not provided, the provider's default remote is used.
    name string
    Required - Name of the identity provider group.
    remote string
    Optional - The remote from which the identity provider group is retrieved. If not provided, the provider's default remote is used.
    name str
    Required - Name of the identity provider group.
    remote str
    Optional - The remote from which the identity provider group is retrieved. If not provided, the provider's default remote is used.
    name String
    Required - Name of the identity provider group.
    remote String
    Optional - The remote from which the identity provider group is retrieved. If not provided, the provider's default remote is used.

    getAuthIdentityProviderGroup Result

    The following output properties are available:

    Groups List<string>
    List of authorization group names the identity provider group is mapped to.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Remote string
    Groups []string
    List of authorization group names the identity provider group is mapped to.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Remote string
    groups list(string)
    List of authorization group names the identity provider group is mapped to.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    remote string
    groups List<String>
    List of authorization group names the identity provider group is mapped to.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    remote String
    groups string[]
    List of authorization group names the identity provider group is mapped to.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    remote string
    groups Sequence[str]
    List of authorization group names the identity provider group is mapped to.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    remote str
    groups List<String>
    List of authorization group names the identity provider group is mapped to.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    remote String

    Package Details

    Repository
    lxd terraform-lxd/terraform-provider-lxd
    License
    Notes
    This Pulumi package is based on the lxd Terraform Provider.
    Viewing docs for lxd 3.1.0
    published on Tuesday, Sep 15, 2026 by terraform-lxd

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial