Show / Hide Table of Contents

Class GetActiveFolder

Inheritance
System.Object
GetActiveFolder
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.Organizations
Assembly: Pulumi.Gcp.dll
Syntax
public static class GetActiveFolder

Methods

View Source

InvokeAsync(GetActiveFolderArgs, InvokeOptions)

Get an active folder within GCP by display_name and parent.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var department1 = Output.Create(Gcp.Organizations.GetActiveFolder.InvokeAsync(new Gcp.Organizations.GetActiveFolderArgs
    {
        DisplayName = "Department 1",
        Parent = "organizations/1234567",
    }));
}

}

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

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