Show / Hide Table of Contents

Class GetFunction

Inheritance
System.Object
GetFunction
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.CloudFunctions
Assembly: Pulumi.Gcp.dll
Syntax
public static class GetFunction

Methods

View Source

InvokeAsync(GetFunctionArgs, InvokeOptions)

Get information about a Google Cloud Function. For more information see the official documentation and API.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var my_function = Output.Create(Gcp.CloudFunctions.GetFunction.InvokeAsync(new Gcp.CloudFunctions.GetFunctionArgs
    {
        Name = "function",
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetFunctionResult> InvokeAsync(GetFunctionArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetFunctionArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetFunctionResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.