Vercel v1.14.3 published on Monday, Oct 7, 2024 by Pulumiverse
vercel.getEndpointVerification
Explore with Pulumi AI
Provides a verification code that can be used to prove ownership over an API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vercel from "@pulumi/vercel";
const example = vercel.getEndpointVerification({});
import pulumi
import pulumi_vercel as vercel
example = vercel.get_endpoint_verification()
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vercel/sdk/go/vercel"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vercel.GetEndpointVerification(ctx, nil, 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.GetEndpointVerification.Invoke();
});
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.GetEndpointVerificationArgs;
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.getEndpointVerification();
}
}
variables:
example:
fn::invoke:
Function: vercel:getEndpointVerification
Arguments: {}
Using getEndpointVerification
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 getEndpointVerification(args: GetEndpointVerificationArgs, opts?: InvokeOptions): Promise<GetEndpointVerificationResult>
function getEndpointVerificationOutput(args: GetEndpointVerificationOutputArgs, opts?: InvokeOptions): Output<GetEndpointVerificationResult>
def get_endpoint_verification(team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEndpointVerificationResult
def get_endpoint_verification_output(team_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEndpointVerificationResult]
func GetEndpointVerification(ctx *Context, args *GetEndpointVerificationArgs, opts ...InvokeOption) (*GetEndpointVerificationResult, error)
func GetEndpointVerificationOutput(ctx *Context, args *GetEndpointVerificationOutputArgs, opts ...InvokeOption) GetEndpointVerificationResultOutput
> Note: This function is named GetEndpointVerification
in the Go SDK.
public static class GetEndpointVerification
{
public static Task<GetEndpointVerificationResult> InvokeAsync(GetEndpointVerificationArgs args, InvokeOptions? opts = null)
public static Output<GetEndpointVerificationResult> Invoke(GetEndpointVerificationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEndpointVerificationResult> getEndpointVerification(GetEndpointVerificationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: vercel:index/getEndpointVerification:getEndpointVerification
arguments:
# arguments dictionary
The following arguments are supported:
- Team
Id string - The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- Team
Id string - The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- team
Id String - The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- team
Id string - The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- team_
id str - The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- team
Id String - The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
getEndpointVerification Result
The following output properties are available:
- Id string
- The ID of this resource.
- Team
Id string - The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- Verification
Code string - A verification code that should be set in the
x-vercel-verify
response header for your API. This is used to verify that the endpoint belongs to you.
- Id string
- The ID of this resource.
- Team
Id string - The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- Verification
Code string - A verification code that should be set in the
x-vercel-verify
response header for your API. This is used to verify that the endpoint belongs to you.
- id String
- The ID of this resource.
- team
Id String - The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- verification
Code String - A verification code that should be set in the
x-vercel-verify
response header for your API. This is used to verify that the endpoint belongs to you.
- id string
- The ID of this resource.
- team
Id string - The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- verification
Code string - A verification code that should be set in the
x-vercel-verify
response header for your API. This is used to verify that the endpoint belongs to you.
- id str
- The ID of this resource.
- team_
id str - The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- verification_
code str - A verification code that should be set in the
x-vercel-verify
response header for your API. This is used to verify that the endpoint belongs to you.
- id String
- The ID of this resource.
- team
Id String - The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- verification
Code String - A verification code that should be set in the
x-vercel-verify
response header for your API. This is used to verify that the endpoint belongs to you.
Package Details
- Repository
- vercel pulumiverse/pulumi-vercel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vercel
Terraform Provider.