AzureAD

Pulumi Official
Package maintained by Pulumi
v5.22.0 published on Wednesday, May 4, 2022 by Pulumi

getApplicationPublishedAppIds

Use this data source to discover application IDs for APIs published by Microsoft.

This data source uses an unofficial source of application IDs, as there is currently no available official indexed source for applications or APIs published by Microsoft.

The app IDs returned by this data source are sourced from the Azure Global (Public) Cloud, however some of them are known to work in government and national clouds.

Example Usage

using Pulumi;
using AzureAD = Pulumi.AzureAD;

class MyStack : Stack
{
    public MyStack()
    {
        var wellKnown = Output.Create(AzureAD.GetApplicationPublishedAppIds.InvokeAsync());
        this.PublishedAppIds = wellKnown.Apply(wellKnown => wellKnown.Result);
    }

    [Output("publishedAppIds")]
    public Output<string> PublishedAppIds { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-azuread/sdk/v5/go/azuread"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		wellKnown, err := azuread.GetApplicationPublishedAppIds(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("publishedAppIds", wellKnown.Result)
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var wellKnown = Output.of(AzureadFunctions.getApplicationPublishedAppIds());

        ctx.export("publishedAppIds", wellKnown.apply(getApplicationPublishedAppIdsResult -> getApplicationPublishedAppIdsResult.getResult()));
        }
}
import pulumi
import pulumi_azuread as azuread

well_known = azuread.get_application_published_app_ids()
pulumi.export("publishedAppIds", well_known.result)
import * as pulumi from "@pulumi/pulumi";
import * as azuread from "@pulumi/azuread";

const wellKnown = azuread.getApplicationPublishedAppIds({});
export const publishedAppIds = wellKnown.then(wellKnown => wellKnown.result);
variables:
  wellKnown:
    Fn::Invoke:
      Function: azuread:getApplicationPublishedAppIds
      Arguments: {}
outputs:
  publishedAppIds: ${wellKnown.result}

Using getApplicationPublishedAppIds

function getApplicationPublishedAppIds(opts?: InvokeOptions): Promise<GetApplicationPublishedAppIdsResult>
def get_application_published_app_ids(opts: Optional[InvokeOptions] = None) -> GetApplicationPublishedAppIdsResult
func GetApplicationPublishedAppIds(ctx *Context, opts ...InvokeOption) (*GetApplicationPublishedAppIdsResult, error)

> Note: This function is named GetApplicationPublishedAppIds in the Go SDK.

public static class GetApplicationPublishedAppIds 
{
    public static Task<GetApplicationPublishedAppIdsResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetApplicationPublishedAppIdsResult> getApplicationPublishedAppIds(InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azuread:index/getApplicationPublishedAppIds:getApplicationPublishedAppIds
  Arguments:
    # Arguments dictionary

getApplicationPublishedAppIds Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Result Dictionary<string, string>

A map of application names to application IDs.

Id string

The provider-assigned unique ID for this managed resource.

Result map[string]string

A map of application names to application IDs.

id String

The provider-assigned unique ID for this managed resource.

result Map

A map of application names to application IDs.

id string

The provider-assigned unique ID for this managed resource.

result {[key: string]: string}

A map of application names to application IDs.

id str

The provider-assigned unique ID for this managed resource.

result Mapping[str, str]

A map of application names to application IDs.

id String

The provider-assigned unique ID for this managed resource.

result Map

A map of application names to application IDs.

Package Details

Repository
https://github.com/pulumi/pulumi-azuread
License
Apache-2.0
Notes

This Pulumi package is based on the azuread Terraform Provider.