1. Packages
  2. Azure Active Directory (Azure AD)
  3. API Docs
  4. ApplicationIdentifierUri
Azure Active Directory (Azure AD) v6.0.1 published on Monday, Oct 14, 2024 by Pulumi

azuread.ApplicationIdentifierUri

Explore with Pulumi AI

azuread logo
Azure Active Directory (Azure AD) v6.0.1 published on Monday, Oct 14, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azuread from "@pulumi/azuread";
    
    const example = new azuread.ApplicationRegistration("example", {displayName: "example"});
    const exampleApplicationIdentifierUri = new azuread.ApplicationIdentifierUri("example", {
        applicationId: example.id,
        identifierUri: "https://app.hashitown.com",
    });
    
    import pulumi
    import pulumi_azuread as azuread
    
    example = azuread.ApplicationRegistration("example", display_name="example")
    example_application_identifier_uri = azuread.ApplicationIdentifierUri("example",
        application_id=example.id,
        identifier_uri="https://app.hashitown.com")
    
    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.NewApplicationRegistration(ctx, "example", &azuread.ApplicationRegistrationArgs{
    			DisplayName: pulumi.String("example"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = azuread.NewApplicationIdentifierUri(ctx, "example", &azuread.ApplicationIdentifierUriArgs{
    			ApplicationId: example.ID(),
    			IdentifierUri: pulumi.String("https://app.hashitown.com"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureAD = Pulumi.AzureAD;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new AzureAD.ApplicationRegistration("example", new()
        {
            DisplayName = "example",
        });
    
        var exampleApplicationIdentifierUri = new AzureAD.ApplicationIdentifierUri("example", new()
        {
            ApplicationId = example.Id,
            IdentifierUri = "https://app.hashitown.com",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azuread.ApplicationRegistration;
    import com.pulumi.azuread.ApplicationRegistrationArgs;
    import com.pulumi.azuread.ApplicationIdentifierUri;
    import com.pulumi.azuread.ApplicationIdentifierUriArgs;
    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) {
            var example = new ApplicationRegistration("example", ApplicationRegistrationArgs.builder()
                .displayName("example")
                .build());
    
            var exampleApplicationIdentifierUri = new ApplicationIdentifierUri("exampleApplicationIdentifierUri", ApplicationIdentifierUriArgs.builder()
                .applicationId(example.id())
                .identifierUri("https://app.hashitown.com")
                .build());
    
        }
    }
    
    resources:
      example:
        type: azuread:ApplicationRegistration
        properties:
          displayName: example
      exampleApplicationIdentifierUri:
        type: azuread:ApplicationIdentifierUri
        name: example
        properties:
          applicationId: ${example.id}
          identifierUri: https://app.hashitown.com
    

    Tip For managing multiple identifier URIs for the same application, create another instance of this resource

    Usage with azuread.Application resource

    import * as pulumi from "@pulumi/pulumi";
    import * as azuread from "@pulumi/azuread";
    
    const example = new azuread.Application("example", {displayName: "example"});
    const exampleApplicationIdentifierUri = new azuread.ApplicationIdentifierUri("example", {applicationId: example.id});
    
    import pulumi
    import pulumi_azuread as azuread
    
    example = azuread.Application("example", display_name="example")
    example_application_identifier_uri = azuread.ApplicationIdentifierUri("example", application_id=example.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.NewApplication(ctx, "example", &azuread.ApplicationArgs{
    			DisplayName: pulumi.String("example"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = azuread.NewApplicationIdentifierUri(ctx, "example", &azuread.ApplicationIdentifierUriArgs{
    			ApplicationId: example.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureAD = Pulumi.AzureAD;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new AzureAD.Application("example", new()
        {
            DisplayName = "example",
        });
    
        var exampleApplicationIdentifierUri = new AzureAD.ApplicationIdentifierUri("example", new()
        {
            ApplicationId = example.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azuread.Application;
    import com.pulumi.azuread.ApplicationArgs;
    import com.pulumi.azuread.ApplicationIdentifierUri;
    import com.pulumi.azuread.ApplicationIdentifierUriArgs;
    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) {
            var example = new Application("example", ApplicationArgs.builder()
                .displayName("example")
                .build());
    
            var exampleApplicationIdentifierUri = new ApplicationIdentifierUri("exampleApplicationIdentifierUri", ApplicationIdentifierUriArgs.builder()
                .applicationId(example.id())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azuread:Application
        properties:
          displayName: example
      exampleApplicationIdentifierUri:
        type: azuread:ApplicationIdentifierUri
        name: example
        properties:
          applicationId: ${example.id}
    

    Create ApplicationIdentifierUri Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ApplicationIdentifierUri(name: string, args: ApplicationIdentifierUriArgs, opts?: CustomResourceOptions);
    @overload
    def ApplicationIdentifierUri(resource_name: str,
                                 args: ApplicationIdentifierUriArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplicationIdentifierUri(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 application_id: Optional[str] = None,
                                 identifier_uri: Optional[str] = None)
    func NewApplicationIdentifierUri(ctx *Context, name string, args ApplicationIdentifierUriArgs, opts ...ResourceOption) (*ApplicationIdentifierUri, error)
    public ApplicationIdentifierUri(string name, ApplicationIdentifierUriArgs args, CustomResourceOptions? opts = null)
    public ApplicationIdentifierUri(String name, ApplicationIdentifierUriArgs args)
    public ApplicationIdentifierUri(String name, ApplicationIdentifierUriArgs args, CustomResourceOptions options)
    
    type: azuread:ApplicationIdentifierUri
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ApplicationIdentifierUriArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ApplicationIdentifierUriArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ApplicationIdentifierUriArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationIdentifierUriArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationIdentifierUriArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var applicationIdentifierUriResource = new AzureAD.ApplicationIdentifierUri("applicationIdentifierUriResource", new()
    {
        ApplicationId = "string",
        IdentifierUri = "string",
    });
    
    example, err := azuread.NewApplicationIdentifierUri(ctx, "applicationIdentifierUriResource", &azuread.ApplicationIdentifierUriArgs{
    	ApplicationId: pulumi.String("string"),
    	IdentifierUri: pulumi.String("string"),
    })
    
    var applicationIdentifierUriResource = new ApplicationIdentifierUri("applicationIdentifierUriResource", ApplicationIdentifierUriArgs.builder()
        .applicationId("string")
        .identifierUri("string")
        .build());
    
    application_identifier_uri_resource = azuread.ApplicationIdentifierUri("applicationIdentifierUriResource",
        application_id="string",
        identifier_uri="string")
    
    const applicationIdentifierUriResource = new azuread.ApplicationIdentifierUri("applicationIdentifierUriResource", {
        applicationId: "string",
        identifierUri: "string",
    });
    
    type: azuread:ApplicationIdentifierUri
    properties:
        applicationId: string
        identifierUri: string
    

    ApplicationIdentifierUri Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ApplicationIdentifierUri resource accepts the following input properties:

    ApplicationId string
    The resource ID of the application registration. Changing this forces a new resource to be created.
    IdentifierUri string
    The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
    ApplicationId string
    The resource ID of the application registration. Changing this forces a new resource to be created.
    IdentifierUri string
    The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
    applicationId String
    The resource ID of the application registration. Changing this forces a new resource to be created.
    identifierUri String
    The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
    applicationId string
    The resource ID of the application registration. Changing this forces a new resource to be created.
    identifierUri string
    The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
    application_id str
    The resource ID of the application registration. Changing this forces a new resource to be created.
    identifier_uri str
    The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
    applicationId String
    The resource ID of the application registration. Changing this forces a new resource to be created.
    identifierUri String
    The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ApplicationIdentifierUri resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ApplicationIdentifierUri Resource

    Get an existing ApplicationIdentifierUri resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ApplicationIdentifierUriState, opts?: CustomResourceOptions): ApplicationIdentifierUri
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            identifier_uri: Optional[str] = None) -> ApplicationIdentifierUri
    func GetApplicationIdentifierUri(ctx *Context, name string, id IDInput, state *ApplicationIdentifierUriState, opts ...ResourceOption) (*ApplicationIdentifierUri, error)
    public static ApplicationIdentifierUri Get(string name, Input<string> id, ApplicationIdentifierUriState? state, CustomResourceOptions? opts = null)
    public static ApplicationIdentifierUri get(String name, Output<String> id, ApplicationIdentifierUriState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApplicationId string
    The resource ID of the application registration. Changing this forces a new resource to be created.
    IdentifierUri string
    The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
    ApplicationId string
    The resource ID of the application registration. Changing this forces a new resource to be created.
    IdentifierUri string
    The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
    applicationId String
    The resource ID of the application registration. Changing this forces a new resource to be created.
    identifierUri String
    The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
    applicationId string
    The resource ID of the application registration. Changing this forces a new resource to be created.
    identifierUri string
    The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
    application_id str
    The resource ID of the application registration. Changing this forces a new resource to be created.
    identifier_uri str
    The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.
    applicationId String
    The resource ID of the application registration. Changing this forces a new resource to be created.
    identifierUri String
    The user-defined URI that uniquely identifies an application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. Changing this forces a new resource to be created.

    Import

    Application Identifier URIs can be imported using the object ID of the application and the base64-encoded identifier URI, in the following format.

    $ pulumi import azuread:index/applicationIdentifierUri:ApplicationIdentifierUri example /applications/00000000-0000-0000-0000-000000000000/identifierUris/aHR0cHM6Ly9leGFtcGxlLm5ldC8=
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.
    azuread logo
    Azure Active Directory (Azure AD) v6.0.1 published on Monday, Oct 14, 2024 by Pulumi