Vercel v1.14.3 published on Monday, Oct 7, 2024 by Pulumiverse
vercel.getProjectDeploymentRetention
Explore with Pulumi AI
Provides a Project Deployment Retention datasource.
A Project Deployment Retention datasource details information about Deployment Retention on a Vercel Project.
For more detailed information, please see the Vercel documentation.
Using getProjectDeploymentRetention
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 getProjectDeploymentRetention(args: GetProjectDeploymentRetentionArgs, opts?: InvokeOptions): Promise<GetProjectDeploymentRetentionResult>
function getProjectDeploymentRetentionOutput(args: GetProjectDeploymentRetentionOutputArgs, opts?: InvokeOptions): Output<GetProjectDeploymentRetentionResult>
def get_project_deployment_retention(project_id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectDeploymentRetentionResult
def get_project_deployment_retention_output(project_id: Optional[pulumi.Input[str]] = None,
team_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectDeploymentRetentionResult]
func LookupProjectDeploymentRetention(ctx *Context, args *LookupProjectDeploymentRetentionArgs, opts ...InvokeOption) (*LookupProjectDeploymentRetentionResult, error)
func LookupProjectDeploymentRetentionOutput(ctx *Context, args *LookupProjectDeploymentRetentionOutputArgs, opts ...InvokeOption) LookupProjectDeploymentRetentionResultOutput
> Note: This function is named LookupProjectDeploymentRetention
in the Go SDK.
public static class GetProjectDeploymentRetention
{
public static Task<GetProjectDeploymentRetentionResult> InvokeAsync(GetProjectDeploymentRetentionArgs args, InvokeOptions? opts = null)
public static Output<GetProjectDeploymentRetentionResult> Invoke(GetProjectDeploymentRetentionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProjectDeploymentRetentionResult> getProjectDeploymentRetention(GetProjectDeploymentRetentionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: vercel:index/getProjectDeploymentRetention:getProjectDeploymentRetention
arguments:
# arguments dictionary
The following arguments are supported:
- project_
id str - The ID of the Project for the retention policy
- team_
id str - The ID of the Vercel team.
getProjectDeploymentRetention Result
The following output properties are available:
- Expiration
Canceled string - The retention period for canceled deployments.
- Expiration
Errored string - The retention period for errored deployments.
- Expiration
Preview string - The retention period for preview deployments.
- Expiration
Production string - The retention period for production deployments.
- Id string
- The ID of this resource.
- Project
Id string - The ID of the Project for the retention policy
- Team
Id string - The ID of the Vercel team.
- Expiration
Canceled string - The retention period for canceled deployments.
- Expiration
Errored string - The retention period for errored deployments.
- Expiration
Preview string - The retention period for preview deployments.
- Expiration
Production string - The retention period for production deployments.
- Id string
- The ID of this resource.
- Project
Id string - The ID of the Project for the retention policy
- Team
Id string - The ID of the Vercel team.
- expiration
Canceled String - The retention period for canceled deployments.
- expiration
Errored String - The retention period for errored deployments.
- expiration
Preview String - The retention period for preview deployments.
- expiration
Production String - The retention period for production deployments.
- id String
- The ID of this resource.
- project
Id String - The ID of the Project for the retention policy
- team
Id String - The ID of the Vercel team.
- expiration
Canceled string - The retention period for canceled deployments.
- expiration
Errored string - The retention period for errored deployments.
- expiration
Preview string - The retention period for preview deployments.
- expiration
Production string - The retention period for production deployments.
- id string
- The ID of this resource.
- project
Id string - The ID of the Project for the retention policy
- team
Id string - The ID of the Vercel team.
- expiration_
canceled str - The retention period for canceled deployments.
- expiration_
errored str - The retention period for errored deployments.
- expiration_
preview str - The retention period for preview deployments.
- expiration_
production str - The retention period for production deployments.
- id str
- The ID of this resource.
- project_
id str - The ID of the Project for the retention policy
- team_
id str - The ID of the Vercel team.
- expiration
Canceled String - The retention period for canceled deployments.
- expiration
Errored String - The retention period for errored deployments.
- expiration
Preview String - The retention period for preview deployments.
- expiration
Production String - The retention period for production deployments.
- id String
- The ID of this resource.
- project
Id String - The ID of the Project for the retention policy
- team
Id String - The ID of the Vercel team.
Package Details
- Repository
- vercel pulumiverse/pulumi-vercel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vercel
Terraform Provider.