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

vercel.getSharedEnvironmentVariable

Explore with Pulumi AI

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

    Using getSharedEnvironmentVariable

    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 getSharedEnvironmentVariable(args: GetSharedEnvironmentVariableArgs, opts?: InvokeOptions): Promise<GetSharedEnvironmentVariableResult>
    function getSharedEnvironmentVariableOutput(args: GetSharedEnvironmentVariableOutputArgs, opts?: InvokeOptions): Output<GetSharedEnvironmentVariableResult>
    def get_shared_environment_variable(id: Optional[str] = None,
                                        key: Optional[str] = None,
                                        targets: Optional[Sequence[str]] = None,
                                        team_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetSharedEnvironmentVariableResult
    def get_shared_environment_variable_output(id: Optional[pulumi.Input[str]] = None,
                                        key: Optional[pulumi.Input[str]] = None,
                                        targets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                        team_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetSharedEnvironmentVariableResult]
    func LookupSharedEnvironmentVariable(ctx *Context, args *LookupSharedEnvironmentVariableArgs, opts ...InvokeOption) (*LookupSharedEnvironmentVariableResult, error)
    func LookupSharedEnvironmentVariableOutput(ctx *Context, args *LookupSharedEnvironmentVariableOutputArgs, opts ...InvokeOption) LookupSharedEnvironmentVariableResultOutput

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

    public static class GetSharedEnvironmentVariable 
    {
        public static Task<GetSharedEnvironmentVariableResult> InvokeAsync(GetSharedEnvironmentVariableArgs args, InvokeOptions? opts = null)
        public static Output<GetSharedEnvironmentVariableResult> Invoke(GetSharedEnvironmentVariableInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSharedEnvironmentVariableResult> getSharedEnvironmentVariable(GetSharedEnvironmentVariableArgs args, InvokeOptions options)
    public static Output<GetSharedEnvironmentVariableResult> getSharedEnvironmentVariable(GetSharedEnvironmentVariableArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vercel:index/getSharedEnvironmentVariable:getSharedEnvironmentVariable
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Key string
    Targets List<string>
    TeamId string
    Id string
    Key string
    Targets []string
    TeamId string
    id String
    key String
    targets List<String>
    teamId String
    id string
    key string
    targets string[]
    teamId string
    id str
    key str
    targets Sequence[str]
    team_id str
    id String
    key String
    targets List<String>
    teamId String

    getSharedEnvironmentVariable Result

    The following output properties are available:

    Comment string
    Id string
    Key string
    ProjectIds List<string>
    Sensitive bool
    Targets List<string>
    TeamId string
    Value string
    Comment string
    Id string
    Key string
    ProjectIds []string
    Sensitive bool
    Targets []string
    TeamId string
    Value string
    comment String
    id String
    key String
    projectIds List<String>
    sensitive Boolean
    targets List<String>
    teamId String
    value String
    comment string
    id string
    key string
    projectIds string[]
    sensitive boolean
    targets string[]
    teamId string
    value string
    comment str
    id str
    key str
    project_ids Sequence[str]
    sensitive bool
    targets Sequence[str]
    team_id str
    value str
    comment String
    id String
    key String
    projectIds List<String>
    sensitive Boolean
    targets List<String>
    teamId String
    value 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