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

vercel.getDeployment

Explore with Pulumi AI

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

    Using getDeployment

    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 getDeployment(args: GetDeploymentArgs, opts?: InvokeOptions): Promise<GetDeploymentResult>
    function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: InvokeOptions): Output<GetDeploymentResult>
    def get_deployment(id: Optional[str] = None,
                       team_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetDeploymentResult
    def get_deployment_output(id: Optional[pulumi.Input[str]] = None,
                       team_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentResult]
    func LookupDeployment(ctx *Context, args *LookupDeploymentArgs, opts ...InvokeOption) (*LookupDeploymentResult, error)
    func LookupDeploymentOutput(ctx *Context, args *LookupDeploymentOutputArgs, opts ...InvokeOption) LookupDeploymentResultOutput

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

    public static class GetDeployment 
    {
        public static Task<GetDeploymentResult> InvokeAsync(GetDeploymentArgs args, InvokeOptions? opts = null)
        public static Output<GetDeploymentResult> Invoke(GetDeploymentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOptions options)
    public static Output<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vercel:index/getDeployment:getDeployment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    TeamId string
    Id string
    TeamId string
    id String
    teamId String
    id string
    teamId string
    id str
    team_id str
    id String
    teamId String

    getDeployment Result

    The following output properties are available:

    Domains List<string>
    Id string
    Production bool
    ProjectId string
    Ref string
    TeamId string
    Url string
    Domains []string
    Id string
    Production bool
    ProjectId string
    Ref string
    TeamId string
    Url string
    domains List<String>
    id String
    production Boolean
    projectId String
    ref String
    teamId String
    url String
    domains string[]
    id string
    production boolean
    projectId string
    ref string
    teamId string
    url string
    domains Sequence[str]
    id str
    production bool
    project_id str
    ref str
    team_id str
    url str
    domains List<String>
    id String
    production Boolean
    projectId String
    ref String
    teamId String
    url String

    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