1. Packages
  2. Hsdp Provider
  3. API Docs
  4. getConnectMdmApplication
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

hsdp.getConnectMdmApplication

Explore with Pulumi AI

hsdp logo
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

    Retrieve details of an existing application

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as hsdp from "@pulumi/hsdp";
    
    const app = hsdp.getConnectMdmApplication({
        name: "MYAPP",
        propositionId: data.hsdp_iam_proposition.app.id,
    });
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    app = hsdp.get_connect_mdm_application(name="MYAPP",
        proposition_id=data["hsdp_iam_proposition"]["app"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/hsdp/hsdp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hsdp.LookupConnectMdmApplication(ctx, &hsdp.LookupConnectMdmApplicationArgs{
    			Name:          "MYAPP",
    			PropositionId: data.Hsdp_iam_proposition.App.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Hsdp = Pulumi.Hsdp;
    
    return await Deployment.RunAsync(() => 
    {
        var app = Hsdp.GetConnectMdmApplication.Invoke(new()
        {
            Name = "MYAPP",
            PropositionId = data.Hsdp_iam_proposition.App.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hsdp.HsdpFunctions;
    import com.pulumi.hsdp.inputs.GetConnectMdmApplicationArgs;
    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 app = HsdpFunctions.getConnectMdmApplication(GetConnectMdmApplicationArgs.builder()
                .name("MYAPP")
                .propositionId(data.hsdp_iam_proposition().app().id())
                .build());
    
        }
    }
    
    variables:
      app:
        fn::invoke:
          function: hsdp:getConnectMdmApplication
          arguments:
            name: MYAPP
            propositionId: ${data.hsdp_iam_proposition.app.id}
    
    import * as pulumi from "@pulumi/pulumi";
    
    export const myAppId = data.hsdp_connect_mdm_application.app.id;
    
    import pulumi
    
    pulumi.export("myAppId", data["hsdp_connect_mdm_application"]["app"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		ctx.Export("myAppId", data.Hsdp_connect_mdm_application.App.Id)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        return new Dictionary<string, object?>
        {
            ["myAppId"] = data.Hsdp_connect_mdm_application.App.Id,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
            ctx.export("myAppId", data.hsdp_connect_mdm_application().app().id());
        }
    }
    
    outputs:
      myAppId: ${data.hsdp_connect_mdm_application.app.id}
    

    Using getConnectMdmApplication

    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 getConnectMdmApplication(args: GetConnectMdmApplicationArgs, opts?: InvokeOptions): Promise<GetConnectMdmApplicationResult>
    function getConnectMdmApplicationOutput(args: GetConnectMdmApplicationOutputArgs, opts?: InvokeOptions): Output<GetConnectMdmApplicationResult>
    def get_connect_mdm_application(id: Optional[str] = None,
                                    name: Optional[str] = None,
                                    proposition_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetConnectMdmApplicationResult
    def get_connect_mdm_application_output(id: Optional[pulumi.Input[str]] = None,
                                    name: Optional[pulumi.Input[str]] = None,
                                    proposition_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetConnectMdmApplicationResult]
    func LookupConnectMdmApplication(ctx *Context, args *LookupConnectMdmApplicationArgs, opts ...InvokeOption) (*LookupConnectMdmApplicationResult, error)
    func LookupConnectMdmApplicationOutput(ctx *Context, args *LookupConnectMdmApplicationOutputArgs, opts ...InvokeOption) LookupConnectMdmApplicationResultOutput

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

    public static class GetConnectMdmApplication 
    {
        public static Task<GetConnectMdmApplicationResult> InvokeAsync(GetConnectMdmApplicationArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectMdmApplicationResult> Invoke(GetConnectMdmApplicationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConnectMdmApplicationResult> getConnectMdmApplication(GetConnectMdmApplicationArgs args, InvokeOptions options)
    public static Output<GetConnectMdmApplicationResult> getConnectMdmApplication(GetConnectMdmApplicationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: hsdp:index/getConnectMdmApplication:getConnectMdmApplication
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the application to look up
    PropositionId string
    the UUID of the proposition the application belongs to
    Id string
    The ID of the application
    Name string
    The name of the application to look up
    PropositionId string
    the UUID of the proposition the application belongs to
    Id string
    The ID of the application
    name String
    The name of the application to look up
    propositionId String
    the UUID of the proposition the application belongs to
    id String
    The ID of the application
    name string
    The name of the application to look up
    propositionId string
    the UUID of the proposition the application belongs to
    id string
    The ID of the application
    name str
    The name of the application to look up
    proposition_id str
    the UUID of the proposition the application belongs to
    id str
    The ID of the application
    name String
    The name of the application to look up
    propositionId String
    the UUID of the proposition the application belongs to
    id String
    The ID of the application

    getConnectMdmApplication Result

    The following output properties are available:

    ApplicationGuidSystem string
    The external system associated with resource (this would point to an IAM deployment)
    ApplicationGuidValue string
    The external value associated with this resource (this would be an underlying IAM application ID)
    DefaultGroupGuidSystem string
    The default group guid system set for this resource
    DefaultGroupGuidValue string
    The default group guid value set for this resource (IAM group ID)
    Description string
    The description of the application
    GlobalReferenceId string
    The global reference ID of the application
    Guid string
    The raw GUID of the application (MDM reference)
    Id string
    The ID of the application
    Name string
    PropositionId string
    ApplicationGuidSystem string
    The external system associated with resource (this would point to an IAM deployment)
    ApplicationGuidValue string
    The external value associated with this resource (this would be an underlying IAM application ID)
    DefaultGroupGuidSystem string
    The default group guid system set for this resource
    DefaultGroupGuidValue string
    The default group guid value set for this resource (IAM group ID)
    Description string
    The description of the application
    GlobalReferenceId string
    The global reference ID of the application
    Guid string
    The raw GUID of the application (MDM reference)
    Id string
    The ID of the application
    Name string
    PropositionId string
    applicationGuidSystem String
    The external system associated with resource (this would point to an IAM deployment)
    applicationGuidValue String
    The external value associated with this resource (this would be an underlying IAM application ID)
    defaultGroupGuidSystem String
    The default group guid system set for this resource
    defaultGroupGuidValue String
    The default group guid value set for this resource (IAM group ID)
    description String
    The description of the application
    globalReferenceId String
    The global reference ID of the application
    guid String
    The raw GUID of the application (MDM reference)
    id String
    The ID of the application
    name String
    propositionId String
    applicationGuidSystem string
    The external system associated with resource (this would point to an IAM deployment)
    applicationGuidValue string
    The external value associated with this resource (this would be an underlying IAM application ID)
    defaultGroupGuidSystem string
    The default group guid system set for this resource
    defaultGroupGuidValue string
    The default group guid value set for this resource (IAM group ID)
    description string
    The description of the application
    globalReferenceId string
    The global reference ID of the application
    guid string
    The raw GUID of the application (MDM reference)
    id string
    The ID of the application
    name string
    propositionId string
    application_guid_system str
    The external system associated with resource (this would point to an IAM deployment)
    application_guid_value str
    The external value associated with this resource (this would be an underlying IAM application ID)
    default_group_guid_system str
    The default group guid system set for this resource
    default_group_guid_value str
    The default group guid value set for this resource (IAM group ID)
    description str
    The description of the application
    global_reference_id str
    The global reference ID of the application
    guid str
    The raw GUID of the application (MDM reference)
    id str
    The ID of the application
    name str
    proposition_id str
    applicationGuidSystem String
    The external system associated with resource (this would point to an IAM deployment)
    applicationGuidValue String
    The external value associated with this resource (this would be an underlying IAM application ID)
    defaultGroupGuidSystem String
    The default group guid system set for this resource
    defaultGroupGuidValue String
    The default group guid value set for this resource (IAM group ID)
    description String
    The description of the application
    globalReferenceId String
    The global reference ID of the application
    guid String
    The raw GUID of the application (MDM reference)
    id String
    The ID of the application
    name String
    propositionId String

    Package Details

    Repository
    hsdp philips-software/terraform-provider-hsdp
    License
    Notes
    This Pulumi package is based on the hsdp Terraform Provider.
    hsdp logo
    hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software