Show / Hide Table of Contents

Class GetApplication

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

Methods

View Source

InvokeAsync(GetApplicationArgs, InvokeOptions)

Use this data source to access information about an existing Application within Azure Active Directory.

NOTE: If you're authenticating using a Service Principal then it must have permissions to both Read and write all (or owned by) applications and Sign in and read user profile within the Windows Azure Active Directory API.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using AzureAD = Pulumi.AzureAD;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(AzureAD.GetApplication.InvokeAsync(new AzureAD.GetApplicationArgs
    {
        Name = "My First AzureAD Application",
    }));
    this.AzureAdObjectId = example.Apply(example => example.Id);
}

[Output("azureAdObjectId")]
public Output<string> AzureAdObjectId { get; set; }
}

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

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