mirror of https://github.com/pulumi/pulumi.git
18 KiB
18 KiB
title: "GetAssets" title_tag: "example.GetAssets" meta_desc: "Documentation for the example.GetAssets function with examples, input properties, output properties, and supporting types." layout: api no_edit_this_page: true
Using GetAssets
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 getAssets(args: GetAssetsArgs, opts?: InvokeOptions): Promise<GetAssetsResult>
function getAssetsOutput(args: GetAssetsOutputArgs, opts?: InvokeOptions): Output<GetAssetsResult>
def get_assets(archive: Optional[pulumi.Archive] = None,
source: Optional[Union[pulumi.Asset, pulumi.Archive]] = None,
opts: Optional[InvokeOptions] = None) -> GetAssetsResult
def get_assets_output(archive: Optional[pulumi.Input[pulumi.Archive]] = None,
source: Optional[pulumi.Input[Union[pulumi.Asset, pulumi.Archive]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAssetsResult]
func GetAssets(ctx *Context, args *GetAssetsArgs, opts ...InvokeOption) (*GetAssetsResult, error)
func GetAssetsOutput(ctx *Context, args *GetAssetsOutputArgs, opts ...InvokeOption) GetAssetsResultOutput
public static class GetAssets
{
public static Task<GetAssetsResult> InvokeAsync(GetAssetsArgs args, InvokeOptions? opts = null)
public static Output<GetAssetsResult> Invoke(GetAssetsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAssetsResult> getAssets(GetAssetsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: example:GetAssets
arguments:
# arguments dictionary
The following arguments are supported:
GetAssets Result
The following output properties are available:
Package Details
- Repository
- example
- License