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

azuread.ApplicationFallbackPublicClient

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 exampleApplicationFallbackPublicClient = new azuread.ApplicationFallbackPublicClient("example", {
        applicationId: example.id,
        enabled: true,
    });
    
    import pulumi
    import pulumi_azuread as azuread
    
    example = azuread.ApplicationRegistration("example", display_name="example")
    example_application_fallback_public_client = azuread.ApplicationFallbackPublicClient("example",
        application_id=example.id,
        enabled=True)
    
    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.NewApplicationFallbackPublicClient(ctx, "example", &azuread.ApplicationFallbackPublicClientArgs{
    			ApplicationId: example.ID(),
    			Enabled:       pulumi.Bool(true),
    		})
    		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 exampleApplicationFallbackPublicClient = new AzureAD.ApplicationFallbackPublicClient("example", new()
        {
            ApplicationId = example.Id,
            Enabled = true,
        });
    
    });
    
    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.ApplicationFallbackPublicClient;
    import com.pulumi.azuread.ApplicationFallbackPublicClientArgs;
    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 exampleApplicationFallbackPublicClient = new ApplicationFallbackPublicClient("exampleApplicationFallbackPublicClient", ApplicationFallbackPublicClientArgs.builder()
                .applicationId(example.id())
                .enabled(true)
                .build());
    
        }
    }
    
    resources:
      example:
        type: azuread:ApplicationRegistration
        properties:
          displayName: example
      exampleApplicationFallbackPublicClient:
        type: azuread:ApplicationFallbackPublicClient
        name: example
        properties:
          applicationId: ${example.id}
          enabled: true
    

    Create ApplicationFallbackPublicClient Resource

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

    Constructor syntax

    new ApplicationFallbackPublicClient(name: string, args: ApplicationFallbackPublicClientArgs, opts?: CustomResourceOptions);
    @overload
    def ApplicationFallbackPublicClient(resource_name: str,
                                        args: ApplicationFallbackPublicClientArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplicationFallbackPublicClient(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        application_id: Optional[str] = None,
                                        enabled: Optional[bool] = None)
    func NewApplicationFallbackPublicClient(ctx *Context, name string, args ApplicationFallbackPublicClientArgs, opts ...ResourceOption) (*ApplicationFallbackPublicClient, error)
    public ApplicationFallbackPublicClient(string name, ApplicationFallbackPublicClientArgs args, CustomResourceOptions? opts = null)
    public ApplicationFallbackPublicClient(String name, ApplicationFallbackPublicClientArgs args)
    public ApplicationFallbackPublicClient(String name, ApplicationFallbackPublicClientArgs args, CustomResourceOptions options)
    
    type: azuread:ApplicationFallbackPublicClient
    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 ApplicationFallbackPublicClientArgs
    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 ApplicationFallbackPublicClientArgs
    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 ApplicationFallbackPublicClientArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationFallbackPublicClientArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationFallbackPublicClientArgs
    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 applicationFallbackPublicClientResource = new AzureAD.ApplicationFallbackPublicClient("applicationFallbackPublicClientResource", new()
    {
        ApplicationId = "string",
        Enabled = false,
    });
    
    example, err := azuread.NewApplicationFallbackPublicClient(ctx, "applicationFallbackPublicClientResource", &azuread.ApplicationFallbackPublicClientArgs{
    	ApplicationId: pulumi.String("string"),
    	Enabled:       pulumi.Bool(false),
    })
    
    var applicationFallbackPublicClientResource = new ApplicationFallbackPublicClient("applicationFallbackPublicClientResource", ApplicationFallbackPublicClientArgs.builder()
        .applicationId("string")
        .enabled(false)
        .build());
    
    application_fallback_public_client_resource = azuread.ApplicationFallbackPublicClient("applicationFallbackPublicClientResource",
        application_id="string",
        enabled=False)
    
    const applicationFallbackPublicClientResource = new azuread.ApplicationFallbackPublicClient("applicationFallbackPublicClientResource", {
        applicationId: "string",
        enabled: false,
    });
    
    type: azuread:ApplicationFallbackPublicClient
    properties:
        applicationId: string
        enabled: false
    

    ApplicationFallbackPublicClient 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 ApplicationFallbackPublicClient resource accepts the following input properties:

    ApplicationId string
    The resource ID of the application registration. Changing this forces a new resource to be created.
    Enabled bool

    Whether to enable the application as a fallback public client.

    Some configurations may require the Fallback Public Client setting to be null, for this case simply destroy this resource (or don't use it)

    ApplicationId string
    The resource ID of the application registration. Changing this forces a new resource to be created.
    Enabled bool

    Whether to enable the application as a fallback public client.

    Some configurations may require the Fallback Public Client setting to be null, for this case simply destroy this resource (or don't use it)

    applicationId String
    The resource ID of the application registration. Changing this forces a new resource to be created.
    enabled Boolean

    Whether to enable the application as a fallback public client.

    Some configurations may require the Fallback Public Client setting to be null, for this case simply destroy this resource (or don't use it)

    applicationId string
    The resource ID of the application registration. Changing this forces a new resource to be created.
    enabled boolean

    Whether to enable the application as a fallback public client.

    Some configurations may require the Fallback Public Client setting to be null, for this case simply destroy this resource (or don't use it)

    application_id str
    The resource ID of the application registration. Changing this forces a new resource to be created.
    enabled bool

    Whether to enable the application as a fallback public client.

    Some configurations may require the Fallback Public Client setting to be null, for this case simply destroy this resource (or don't use it)

    applicationId String
    The resource ID of the application registration. Changing this forces a new resource to be created.
    enabled Boolean

    Whether to enable the application as a fallback public client.

    Some configurations may require the Fallback Public Client setting to be null, for this case simply destroy this resource (or don't use it)

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ApplicationFallbackPublicClient 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 ApplicationFallbackPublicClient Resource

    Get an existing ApplicationFallbackPublicClient 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?: ApplicationFallbackPublicClientState, opts?: CustomResourceOptions): ApplicationFallbackPublicClient
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            enabled: Optional[bool] = None) -> ApplicationFallbackPublicClient
    func GetApplicationFallbackPublicClient(ctx *Context, name string, id IDInput, state *ApplicationFallbackPublicClientState, opts ...ResourceOption) (*ApplicationFallbackPublicClient, error)
    public static ApplicationFallbackPublicClient Get(string name, Input<string> id, ApplicationFallbackPublicClientState? state, CustomResourceOptions? opts = null)
    public static ApplicationFallbackPublicClient get(String name, Output<String> id, ApplicationFallbackPublicClientState 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.
    Enabled bool

    Whether to enable the application as a fallback public client.

    Some configurations may require the Fallback Public Client setting to be null, for this case simply destroy this resource (or don't use it)

    ApplicationId string
    The resource ID of the application registration. Changing this forces a new resource to be created.
    Enabled bool

    Whether to enable the application as a fallback public client.

    Some configurations may require the Fallback Public Client setting to be null, for this case simply destroy this resource (or don't use it)

    applicationId String
    The resource ID of the application registration. Changing this forces a new resource to be created.
    enabled Boolean

    Whether to enable the application as a fallback public client.

    Some configurations may require the Fallback Public Client setting to be null, for this case simply destroy this resource (or don't use it)

    applicationId string
    The resource ID of the application registration. Changing this forces a new resource to be created.
    enabled boolean

    Whether to enable the application as a fallback public client.

    Some configurations may require the Fallback Public Client setting to be null, for this case simply destroy this resource (or don't use it)

    application_id str
    The resource ID of the application registration. Changing this forces a new resource to be created.
    enabled bool

    Whether to enable the application as a fallback public client.

    Some configurations may require the Fallback Public Client setting to be null, for this case simply destroy this resource (or don't use it)

    applicationId String
    The resource ID of the application registration. Changing this forces a new resource to be created.
    enabled Boolean

    Whether to enable the application as a fallback public client.

    Some configurations may require the Fallback Public Client setting to be null, for this case simply destroy this resource (or don't use it)

    Import

    The Application Fallback Public Client setting can be imported using the object ID of the application, in the following format.

    $ pulumi import azuread:index/applicationFallbackPublicClient:ApplicationFallbackPublicClient example /applications/00000000-0000-0000-0000-000000000000/fallbackPublicClient
    

    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