Show / Hide Table of Contents

Class GetDirectory

Inheritance
System.Object
GetDirectory
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.Aws.DirectoryService
Assembly: Pulumi.Aws.dll
Syntax
public static class GetDirectory

Methods

View Source

InvokeAsync(GetDirectoryArgs, InvokeOptions)

Get attributes of AWS Directory Service directory (SimpleAD, Managed AD, AD Connector). It's especially useful to refer AWS Managed AD or on-premise AD in AD Connector configuration.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Aws.DirectoryService.GetDirectory.InvokeAsync(new Aws.DirectoryService.GetDirectoryArgs
    {
        DirectoryId = aws_directory_service_directory.Main.Id,
    }));
}

}

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

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