1. Packages
  2. Vercel Provider
  3. API Docs
  4. getMicrofrontendGroupMembership
Vercel v3.1.2 published on Tuesday, May 13, 2025 by Pulumiverse

vercel.getMicrofrontendGroupMembership

Explore with Pulumi AI

vercel logo
Vercel v3.1.2 published on Tuesday, May 13, 2025 by Pulumiverse

    Provides information about an existing Microfrontend Group Membership.

    A Microfrontend Group Membership is a definition of a Vercel Project being a part of a Microfrontend Group.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vercel from "@pulumi/vercel";
    
    const example = vercel.getMicrofrontendGroupMembership({
        projectId: "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        microfrontendGroupId: "mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    });
    
    import pulumi
    import pulumi_vercel as vercel
    
    example = vercel.get_microfrontend_group_membership(project_id="prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        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.LookupMicrofrontendGroupMembership(ctx, &vercel.LookupMicrofrontendGroupMembershipArgs{
    			ProjectId:            "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    			MicrofrontendGroupId: "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.GetMicrofrontendGroupMembership.Invoke(new()
        {
            ProjectId = "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            MicrofrontendGroupId = "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.GetMicrofrontendGroupMembershipArgs;
    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.getMicrofrontendGroupMembership(GetMicrofrontendGroupMembershipArgs.builder()
                .projectId("prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx")
                .microfrontendGroupId("mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: vercel:getMicrofrontendGroupMembership
          Arguments:
            projectId: prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
            microfrontendGroupId: mfe_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    

    Using getMicrofrontendGroupMembership

    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 getMicrofrontendGroupMembership(args: GetMicrofrontendGroupMembershipArgs, opts?: InvokeOptions): Promise<GetMicrofrontendGroupMembershipResult>
    function getMicrofrontendGroupMembershipOutput(args: GetMicrofrontendGroupMembershipOutputArgs, opts?: InvokeOptions): Output<GetMicrofrontendGroupMembershipResult>
    def get_microfrontend_group_membership(microfrontend_group_id: Optional[str] = None,
                                           project_id: Optional[str] = None,
                                           team_id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetMicrofrontendGroupMembershipResult
    def get_microfrontend_group_membership_output(microfrontend_group_id: Optional[pulumi.Input[str]] = None,
                                           project_id: Optional[pulumi.Input[str]] = None,
                                           team_id: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetMicrofrontendGroupMembershipResult]
    func LookupMicrofrontendGroupMembership(ctx *Context, args *LookupMicrofrontendGroupMembershipArgs, opts ...InvokeOption) (*LookupMicrofrontendGroupMembershipResult, error)
    func LookupMicrofrontendGroupMembershipOutput(ctx *Context, args *LookupMicrofrontendGroupMembershipOutputArgs, opts ...InvokeOption) LookupMicrofrontendGroupMembershipResultOutput

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

    public static class GetMicrofrontendGroupMembership 
    {
        public static Task<GetMicrofrontendGroupMembershipResult> InvokeAsync(GetMicrofrontendGroupMembershipArgs args, InvokeOptions? opts = null)
        public static Output<GetMicrofrontendGroupMembershipResult> Invoke(GetMicrofrontendGroupMembershipInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMicrofrontendGroupMembershipResult> getMicrofrontendGroupMembership(GetMicrofrontendGroupMembershipArgs args, InvokeOptions options)
    public static Output<GetMicrofrontendGroupMembershipResult> getMicrofrontendGroupMembership(GetMicrofrontendGroupMembershipArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vercel:index/getMicrofrontendGroupMembership:getMicrofrontendGroupMembership
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MicrofrontendGroupId string
    The ID of the microfrontend group.
    ProjectId string
    The ID of the project.
    TeamId string
    The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
    MicrofrontendGroupId string
    The ID of the microfrontend group.
    ProjectId string
    The ID of the project.
    TeamId string
    The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
    microfrontendGroupId String
    The ID of the microfrontend group.
    projectId String
    The ID of the project.
    teamId String
    The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
    microfrontendGroupId string
    The ID of the microfrontend group.
    projectId string
    The ID of the project.
    teamId string
    The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
    microfrontend_group_id str
    The ID of the microfrontend group.
    project_id str
    The ID of the project.
    team_id str
    The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
    microfrontendGroupId String
    The ID of the microfrontend group.
    projectId String
    The ID of the project.
    teamId String
    The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.

    getMicrofrontendGroupMembership Result

    The following output properties are available:

    DefaultRoute string
    The default route for the project. Used for the screenshot of deployments.
    Id string
    The provider-assigned unique ID for this managed resource.
    MicrofrontendGroupId string
    The ID of the microfrontend group.
    ProjectId string
    The ID of the project.
    RouteObservabilityToThisProject bool
    Whether the project is route observability for this project. If dalse, the project will be route observability for all projects to the default project.
    TeamId string
    The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
    DefaultRoute string
    The default route for the project. Used for the screenshot of deployments.
    Id string
    The provider-assigned unique ID for this managed resource.
    MicrofrontendGroupId string
    The ID of the microfrontend group.
    ProjectId string
    The ID of the project.
    RouteObservabilityToThisProject bool
    Whether the project is route observability for this project. If dalse, the project will be route observability for all projects to the default project.
    TeamId string
    The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
    defaultRoute String
    The default route for the project. Used for the screenshot of deployments.
    id String
    The provider-assigned unique ID for this managed resource.
    microfrontendGroupId String
    The ID of the microfrontend group.
    projectId String
    The ID of the project.
    routeObservabilityToThisProject Boolean
    Whether the project is route observability for this project. If dalse, the project will be route observability for all projects to the default project.
    teamId String
    The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
    defaultRoute string
    The default route for the project. Used for the screenshot of deployments.
    id string
    The provider-assigned unique ID for this managed resource.
    microfrontendGroupId string
    The ID of the microfrontend group.
    projectId string
    The ID of the project.
    routeObservabilityToThisProject boolean
    Whether the project is route observability for this project. If dalse, the project will be route observability for all projects to the default project.
    teamId string
    The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
    default_route str
    The default route for the project. Used for the screenshot of deployments.
    id str
    The provider-assigned unique ID for this managed resource.
    microfrontend_group_id str
    The ID of the microfrontend group.
    project_id str
    The ID of the project.
    route_observability_to_this_project bool
    Whether the project is route observability for this project. If dalse, the project will be route observability for all projects to the default project.
    team_id str
    The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.
    defaultRoute String
    The default route for the project. Used for the screenshot of deployments.
    id String
    The provider-assigned unique ID for this managed resource.
    microfrontendGroupId String
    The ID of the microfrontend group.
    projectId String
    The ID of the project.
    routeObservabilityToThisProject Boolean
    Whether the project is route observability for this project. If dalse, the project will be route observability for all projects to the default project.
    teamId String
    The team ID to add the microfrontend group to. Required when configuring a team resource if a default team has not been set in the provider.

    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.1.2 published on Tuesday, May 13, 2025 by Pulumiverse