1. Packages
  2. Vercel
  3. API Docs
  4. getCustomEnvironment
Vercel v1.15.0 published on Wednesday, Mar 19, 2025 by Pulumiverse

vercel.getCustomEnvironment

Explore with Pulumi AI

vercel logo
Vercel v1.15.0 published on Wednesday, Mar 19, 2025 by Pulumiverse

    Using getCustomEnvironment

    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 getCustomEnvironment(args: GetCustomEnvironmentArgs, opts?: InvokeOptions): Promise<GetCustomEnvironmentResult>
    function getCustomEnvironmentOutput(args: GetCustomEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetCustomEnvironmentResult>
    def get_custom_environment(name: Optional[str] = None,
                               project_id: Optional[str] = None,
                               team_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetCustomEnvironmentResult
    def get_custom_environment_output(name: Optional[pulumi.Input[str]] = None,
                               project_id: Optional[pulumi.Input[str]] = None,
                               team_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetCustomEnvironmentResult]
    func LookupCustomEnvironment(ctx *Context, args *LookupCustomEnvironmentArgs, opts ...InvokeOption) (*LookupCustomEnvironmentResult, error)
    func LookupCustomEnvironmentOutput(ctx *Context, args *LookupCustomEnvironmentOutputArgs, opts ...InvokeOption) LookupCustomEnvironmentResultOutput

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

    public static class GetCustomEnvironment 
    {
        public static Task<GetCustomEnvironmentResult> InvokeAsync(GetCustomEnvironmentArgs args, InvokeOptions? opts = null)
        public static Output<GetCustomEnvironmentResult> Invoke(GetCustomEnvironmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCustomEnvironmentResult> getCustomEnvironment(GetCustomEnvironmentArgs args, InvokeOptions options)
    public static Output<GetCustomEnvironmentResult> getCustomEnvironment(GetCustomEnvironmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vercel:index/getCustomEnvironment:getCustomEnvironment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    ProjectId string
    TeamId string
    Name string
    ProjectId string
    TeamId string
    name String
    projectId String
    teamId String
    name string
    projectId string
    teamId string
    name String
    projectId String
    teamId String

    getCustomEnvironment Result

    The following output properties are available:

    Supporting Types

    GetCustomEnvironmentBranchTracking

    Pattern string
    The pattern of the branch name to track.
    Type string
    How a branch name should be matched against the pattern. Must be one of 'startsWith', 'endsWith' or 'equals'.
    Pattern string
    The pattern of the branch name to track.
    Type string
    How a branch name should be matched against the pattern. Must be one of 'startsWith', 'endsWith' or 'equals'.
    pattern String
    The pattern of the branch name to track.
    type String
    How a branch name should be matched against the pattern. Must be one of 'startsWith', 'endsWith' or 'equals'.
    pattern string
    The pattern of the branch name to track.
    type string
    How a branch name should be matched against the pattern. Must be one of 'startsWith', 'endsWith' or 'equals'.
    pattern str
    The pattern of the branch name to track.
    type str
    How a branch name should be matched against the pattern. Must be one of 'startsWith', 'endsWith' or 'equals'.
    pattern String
    The pattern of the branch name to track.
    type String
    How a branch name should be matched against the pattern. Must be one of 'startsWith', 'endsWith' or 'equals'.

    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 v1.15.0 published on Wednesday, Mar 19, 2025 by Pulumiverse