pulumi/tests/testdata/codegen/simplified-invokes/docs/getarchive/_index.md

9.7 KiB


title: "GetArchive" title_tag: "std.GetArchive" meta_desc: "Documentation for the std.GetArchive function with examples, input properties, output properties, and supporting types." layout: api no_edit_this_page: true

Using GetArchive

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 getArchive(args: GetArchiveArgs, opts?: InvokeOptions): Promise<GetArchiveResult>
function getArchiveOutput(args: GetArchiveOutputArgs, opts?: InvokeOptions): Output<GetArchiveResult>
def get_archive(a: Optional[float] = None,
                opts: Optional[InvokeOptions] = None) -> GetArchiveResult
def get_archive_output(a: Optional[pulumi.Input[float]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetArchiveResult]
func GetArchive(ctx *Context, args *GetArchiveArgs, opts ...InvokeOption) (*GetArchiveResult, error)
func GetArchiveOutput(ctx *Context, args *GetArchiveOutputArgs, opts ...InvokeOption) GetArchiveResultOutput
public static class GetArchive 
{
    public static Task<GetArchiveResult> InvokeAsync(GetArchiveArgs args, InvokeOptions? opts = null)
    public static Output<GetArchiveResult> Invoke(GetArchiveInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetArchiveResult> getArchive(GetArchiveArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: std:GetArchive
  arguments:
    # arguments dictionary

The following arguments are supported:

A double
A float64
a Double
a number
a float
a Number

GetArchive Result

The following output properties are available:

Package Details

Repository
std pulumi/pulumi-std
License