1. Packages
  2. Vercel
  3. API Docs
  4. getProjectDirectory
Vercel v1.14.3 published on Monday, Oct 7, 2024 by Pulumiverse

vercel.getProjectDirectory

Explore with Pulumi AI

Vercel v1.14.3 published on Monday, Oct 7, 2024 by Pulumiverse

Using getProjectDirectory

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 getProjectDirectory(args: GetProjectDirectoryArgs, opts?: InvokeOptions): Promise<GetProjectDirectoryResult>
function getProjectDirectoryOutput(args: GetProjectDirectoryOutputArgs, opts?: InvokeOptions): Output<GetProjectDirectoryResult>
Copy
def get_project_directory(path: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetProjectDirectoryResult
def get_project_directory_output(path: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetProjectDirectoryResult]
Copy
func GetProjectDirectory(ctx *Context, args *GetProjectDirectoryArgs, opts ...InvokeOption) (*GetProjectDirectoryResult, error)
func GetProjectDirectoryOutput(ctx *Context, args *GetProjectDirectoryOutputArgs, opts ...InvokeOption) GetProjectDirectoryResultOutput
Copy

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

public static class GetProjectDirectory 
{
    public static Task<GetProjectDirectoryResult> InvokeAsync(GetProjectDirectoryArgs args, InvokeOptions? opts = null)
    public static Output<GetProjectDirectoryResult> Invoke(GetProjectDirectoryInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetProjectDirectoryResult> getProjectDirectory(GetProjectDirectoryArgs args, InvokeOptions options)
public static Output<GetProjectDirectoryResult> getProjectDirectory(GetProjectDirectoryArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: vercel:index/getProjectDirectory:getProjectDirectory
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Path This property is required. string
Path This property is required. string
path This property is required. String
path This property is required. string
path This property is required. str
path This property is required. String

getProjectDirectory Result

The following output properties are available:

Files Dictionary<string, string>
A map of filename to metadata about the file. The metadata contains the file size and hash, and allows a deployment to be created if the file changes.
Id string
The ID of this resource.
Path string
Files map[string]string
A map of filename to metadata about the file. The metadata contains the file size and hash, and allows a deployment to be created if the file changes.
Id string
The ID of this resource.
Path string
files Map<String,String>
A map of filename to metadata about the file. The metadata contains the file size and hash, and allows a deployment to be created if the file changes.
id String
The ID of this resource.
path String
files {[key: string]: string}
A map of filename to metadata about the file. The metadata contains the file size and hash, and allows a deployment to be created if the file changes.
id string
The ID of this resource.
path string
files Mapping[str, str]
A map of filename to metadata about the file. The metadata contains the file size and hash, and allows a deployment to be created if the file changes.
id str
The ID of this resource.
path str
files Map<String>
A map of filename to metadata about the file. The metadata contains the file size and hash, and allows a deployment to be created if the file changes.
id String
The ID of this resource.
path String

Package Details

Repository
vercel pulumiverse/pulumi-vercel
License
Apache-2.0
Notes
This Pulumi package is based on the vercel Terraform Provider.
Vercel v1.14.3 published on Monday, Oct 7, 2024 by Pulumiverse