1. Packages
  2. Vercel Provider
  3. API Docs
  4. getMicrofrontendGroup
Vercel v3.2.1 published on Wednesday, May 14, 2025 by Pulumiverse

vercel.getMicrofrontendGroup

Explore with Pulumi AI

vercel logo
Vercel v3.2.1 published on Wednesday, May 14, 2025 by Pulumiverse

    Provides information about an existing Microfrontend Group.

    A Microfrontend Group is a definition of a microfrontend belonging to a Vercel Team.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vercel from "@pulumi/vercel";
    
    const example = vercel.getMicrofrontendGroup({
        id: "mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    });
    
    import pulumi
    import pulumi_vercel as vercel
    
    example = vercel.get_microfrontend_group(id="mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-vercel/sdk/v3/go/vercel"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vercel.LookupMicrofrontendGroup(ctx, &vercel.LookupMicrofrontendGroupArgs{
    			Id: "mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vercel = Pulumi.Vercel;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Vercel.GetMicrofrontendGroup.Invoke(new()
        {
            Id = "mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vercel.VercelFunctions;
    import com.pulumi.vercel.inputs.GetMicrofrontendGroupArgs;
    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 example = VercelFunctions.getMicrofrontendGroup(GetMicrofrontendGroupArgs.builder()
                .id("mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: vercel:getMicrofrontendGroup
          Arguments:
            id: mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    

    Using getMicrofrontendGroup

    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 getMicrofrontendGroup(args: GetMicrofrontendGroupArgs, opts?: InvokeOptions): Promise<GetMicrofrontendGroupResult>
    function getMicrofrontendGroupOutput(args: GetMicrofrontendGroupOutputArgs, opts?: InvokeOptions): Output<GetMicrofrontendGroupResult>
    def get_microfrontend_group(id: Optional[str] = None,
                                team_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetMicrofrontendGroupResult
    def get_microfrontend_group_output(id: Optional[pulumi.Input[str]] = None,
                                team_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetMicrofrontendGroupResult]
    func LookupMicrofrontendGroup(ctx *Context, args *LookupMicrofrontendGroupArgs, opts ...InvokeOption) (*LookupMicrofrontendGroupResult, error)
    func LookupMicrofrontendGroupOutput(ctx *Context, args *LookupMicrofrontendGroupOutputArgs, opts ...InvokeOption) LookupMicrofrontendGroupResultOutput

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

    public static class GetMicrofrontendGroup 
    {
        public static Task<GetMicrofrontendGroupResult> InvokeAsync(GetMicrofrontendGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetMicrofrontendGroupResult> Invoke(GetMicrofrontendGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMicrofrontendGroupResult> getMicrofrontendGroup(GetMicrofrontendGroupArgs args, InvokeOptions options)
    public static Output<GetMicrofrontendGroupResult> getMicrofrontendGroup(GetMicrofrontendGroupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vercel:index/getMicrofrontendGroup:getMicrofrontendGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
    TeamId string
    The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
    Id string
    A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
    TeamId string
    The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
    id String
    A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
    teamId String
    The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
    id string
    A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
    teamId string
    The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
    id str
    A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
    team_id str
    The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
    id String
    A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
    teamId String
    The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.

    getMicrofrontendGroup Result

    The following output properties are available:

    DefaultApp Pulumiverse.Vercel.Outputs.GetMicrofrontendGroupDefaultApp
    The default app for the project. Used as the entry point for the microfrontend.
    Id string
    A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
    Name string
    A human readable name for the microfrontends group.
    Slug string
    A slugified version of the name.
    TeamId string
    The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
    DefaultApp GetMicrofrontendGroupDefaultApp
    The default app for the project. Used as the entry point for the microfrontend.
    Id string
    A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
    Name string
    A human readable name for the microfrontends group.
    Slug string
    A slugified version of the name.
    TeamId string
    The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
    defaultApp GetMicrofrontendGroupDefaultApp
    The default app for the project. Used as the entry point for the microfrontend.
    id String
    A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
    name String
    A human readable name for the microfrontends group.
    slug String
    A slugified version of the name.
    teamId String
    The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
    defaultApp GetMicrofrontendGroupDefaultApp
    The default app for the project. Used as the entry point for the microfrontend.
    id string
    A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
    name string
    A human readable name for the microfrontends group.
    slug string
    A slugified version of the name.
    teamId string
    The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
    default_app GetMicrofrontendGroupDefaultApp
    The default app for the project. Used as the entry point for the microfrontend.
    id str
    A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
    name str
    A human readable name for the microfrontends group.
    slug str
    A slugified version of the name.
    team_id str
    The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
    defaultApp Property Map
    The default app for the project. Used as the entry point for the microfrontend.
    id String
    A unique identifier for the group of microfrontends. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
    name String
    A human readable name for the microfrontends group.
    slug String
    A slugified version of the name.
    teamId String
    The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.

    Supporting Types

    GetMicrofrontendGroupDefaultApp

    DefaultRoute string
    The default route for the project. Used for the screenshot of deployments.
    ProjectId string
    The ID of the project.
    DefaultRoute string
    The default route for the project. Used for the screenshot of deployments.
    ProjectId string
    The ID of the project.
    defaultRoute String
    The default route for the project. Used for the screenshot of deployments.
    projectId String
    The ID of the project.
    defaultRoute string
    The default route for the project. Used for the screenshot of deployments.
    projectId string
    The ID of the project.
    default_route str
    The default route for the project. Used for the screenshot of deployments.
    project_id str
    The ID of the project.
    defaultRoute String
    The default route for the project. Used for the screenshot of deployments.
    projectId String
    The ID of the project.

    Package Details

    Repository
    vercel pulumiverse/pulumi-vercel
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vercel Terraform Provider.
    vercel logo
    Vercel v3.2.1 published on Wednesday, May 14, 2025 by Pulumiverse