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

9.8 KiB


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

Using GetDictionary

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 getDictionary(args: GetDictionaryArgs, opts?: InvokeOptions): Promise<GetDictionaryResult>
function getDictionaryOutput(args: GetDictionaryOutputArgs, opts?: InvokeOptions): Output<GetDictionaryResult>
def get_dictionary(a: Optional[float] = None,
                   opts: Optional[InvokeOptions] = None) -> GetDictionaryResult
def get_dictionary_output(a: Optional[pulumi.Input[float]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetDictionaryResult]
func GetDictionary(ctx *Context, args *GetDictionaryArgs, opts ...InvokeOption) (*GetDictionaryResult, error)
func GetDictionaryOutput(ctx *Context, args *GetDictionaryOutputArgs, opts ...InvokeOption) GetDictionaryResultOutput
public static class GetDictionary 
{
    public static Task<GetDictionaryResult> InvokeAsync(GetDictionaryArgs args, InvokeOptions? opts = null)
    public static Output<GetDictionaryResult> Invoke(GetDictionaryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDictionaryResult> getDictionary(GetDictionaryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: std:GetDictionary
  arguments:
    # arguments dictionary

The following arguments are supported:

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

GetDictionary Result

The following output properties are available:

Package Details

Repository
std pulumi/pulumi-std
License