azuread.getApplicationTemplate
Explore with Pulumi AI
Use this data source to access information about an Application Template from the Azure AD App Gallery.
API Permissions
This data source does not require any additional roles.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azuread from "@pulumi/azuread";
const example = azuread.getApplicationTemplate({
displayName: "Marketo",
});
export const applicationTemplateId = example.then(example => example.templateId);
import pulumi
import pulumi_azuread as azuread
example = azuread.get_application_template(display_name="Marketo")
pulumi.export("applicationTemplateId", example.template_id)
package main
import (
"github.com/pulumi/pulumi-azuread/sdk/v6/go/azuread"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := azuread.GetApplicationTemplate(ctx, &azuread.GetApplicationTemplateArgs{
DisplayName: pulumi.StringRef("Marketo"),
}, nil)
if err != nil {
return err
}
ctx.Export("applicationTemplateId", example.TemplateId)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureAD = Pulumi.AzureAD;
return await Deployment.RunAsync(() =>
{
var example = AzureAD.GetApplicationTemplate.Invoke(new()
{
DisplayName = "Marketo",
});
return new Dictionary<string, object?>
{
["applicationTemplateId"] = example.Apply(getApplicationTemplateResult => getApplicationTemplateResult.TemplateId),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuread.AzureadFunctions;
import com.pulumi.azuread.inputs.GetApplicationTemplateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AzureadFunctions.getApplicationTemplate(GetApplicationTemplateArgs.builder()
.displayName("Marketo")
.build());
ctx.export("applicationTemplateId", example.applyValue(getApplicationTemplateResult -> getApplicationTemplateResult.templateId()));
}
}
variables:
example:
fn::invoke:
Function: azuread:getApplicationTemplate
Arguments:
displayName: Marketo
outputs:
applicationTemplateId: ${example.templateId}
Using getApplicationTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApplicationTemplate(args: GetApplicationTemplateArgs, opts?: InvokeOptions): Promise<GetApplicationTemplateResult>
function getApplicationTemplateOutput(args: GetApplicationTemplateOutputArgs, opts?: InvokeOptions): Output<GetApplicationTemplateResult>
def get_application_template(display_name: Optional[str] = None,
template_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApplicationTemplateResult
def get_application_template_output(display_name: Optional[pulumi.Input[str]] = None,
template_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplicationTemplateResult]
func GetApplicationTemplate(ctx *Context, args *GetApplicationTemplateArgs, opts ...InvokeOption) (*GetApplicationTemplateResult, error)
func GetApplicationTemplateOutput(ctx *Context, args *GetApplicationTemplateOutputArgs, opts ...InvokeOption) GetApplicationTemplateResultOutput
> Note: This function is named GetApplicationTemplate
in the Go SDK.
public static class GetApplicationTemplate
{
public static Task<GetApplicationTemplateResult> InvokeAsync(GetApplicationTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetApplicationTemplateResult> Invoke(GetApplicationTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApplicationTemplateResult> getApplicationTemplate(GetApplicationTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azuread:index/getApplicationTemplate:getApplicationTemplate
arguments:
# arguments dictionary
The following arguments are supported:
- Display
Name string - Specifies the display name of the templated application.
- Template
Id string Specifies the ID of the templated application.
One of
template_id
ordisplay_name
must be specified.
- Display
Name string - Specifies the display name of the templated application.
- Template
Id string Specifies the ID of the templated application.
One of
template_id
ordisplay_name
must be specified.
- display
Name String - Specifies the display name of the templated application.
- template
Id String Specifies the ID of the templated application.
One of
template_id
ordisplay_name
must be specified.
- display
Name string - Specifies the display name of the templated application.
- template
Id string Specifies the ID of the templated application.
One of
template_id
ordisplay_name
must be specified.
- display_
name str - Specifies the display name of the templated application.
- template_
id str Specifies the ID of the templated application.
One of
template_id
ordisplay_name
must be specified.
- display
Name String - Specifies the display name of the templated application.
- template
Id String Specifies the ID of the templated application.
One of
template_id
ordisplay_name
must be specified.
getApplicationTemplate Result
The following output properties are available:
- Categories List<string>
- List of categories for this templated application.
- Display
Name string - The display name for the templated application.
- Homepage
Url string - Home page URL of the templated application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Logo
Url string - URL to retrieve the logo for this templated application.
- Publisher string
- Name of the publisher for this templated application.
- Supported
Provisioning List<string>Types - List of provisioning modes supported by this templated application.
- Supported
Single List<string>Sign On Modes - List of single sign on modes supported by this templated application.
- Template
Id string - The ID of the templated application.
- Categories []string
- List of categories for this templated application.
- Display
Name string - The display name for the templated application.
- Homepage
Url string - Home page URL of the templated application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Logo
Url string - URL to retrieve the logo for this templated application.
- Publisher string
- Name of the publisher for this templated application.
- Supported
Provisioning []stringTypes - List of provisioning modes supported by this templated application.
- Supported
Single []stringSign On Modes - List of single sign on modes supported by this templated application.
- Template
Id string - The ID of the templated application.
- categories List<String>
- List of categories for this templated application.
- display
Name String - The display name for the templated application.
- homepage
Url String - Home page URL of the templated application.
- id String
- The provider-assigned unique ID for this managed resource.
- logo
Url String - URL to retrieve the logo for this templated application.
- publisher String
- Name of the publisher for this templated application.
- supported
Provisioning List<String>Types - List of provisioning modes supported by this templated application.
- supported
Single List<String>Sign On Modes - List of single sign on modes supported by this templated application.
- template
Id String - The ID of the templated application.
- categories string[]
- List of categories for this templated application.
- display
Name string - The display name for the templated application.
- homepage
Url string - Home page URL of the templated application.
- id string
- The provider-assigned unique ID for this managed resource.
- logo
Url string - URL to retrieve the logo for this templated application.
- publisher string
- Name of the publisher for this templated application.
- supported
Provisioning string[]Types - List of provisioning modes supported by this templated application.
- supported
Single string[]Sign On Modes - List of single sign on modes supported by this templated application.
- template
Id string - The ID of the templated application.
- categories Sequence[str]
- List of categories for this templated application.
- display_
name str - The display name for the templated application.
- homepage_
url str - Home page URL of the templated application.
- id str
- The provider-assigned unique ID for this managed resource.
- logo_
url str - URL to retrieve the logo for this templated application.
- publisher str
- Name of the publisher for this templated application.
- supported_
provisioning_ Sequence[str]types - List of provisioning modes supported by this templated application.
- supported_
single_ Sequence[str]sign_ on_ modes - List of single sign on modes supported by this templated application.
- template_
id str - The ID of the templated application.
- categories List<String>
- List of categories for this templated application.
- display
Name String - The display name for the templated application.
- homepage
Url String - Home page URL of the templated application.
- id String
- The provider-assigned unique ID for this managed resource.
- logo
Url String - URL to retrieve the logo for this templated application.
- publisher String
- Name of the publisher for this templated application.
- supported
Provisioning List<String>Types - List of provisioning modes supported by this templated application.
- supported
Single List<String>Sign On Modes - List of single sign on modes supported by this templated application.
- template
Id String - The ID of the templated application.
Package Details
- Repository
- Azure Active Directory (Azure AD) pulumi/pulumi-azuread
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azuread
Terraform Provider.