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

hsdp.IamApplication

Explore with Pulumi AI

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

    Provides a resource for managing HSDP IAM application under a proposition.

    Example Usage

    The following example creates an application

    import * as pulumi from "@pulumi/pulumi";
    import * as hsdp from "@pulumi/hsdp";
    
    const testapp = new hsdp.IamApplication("testapp", {
        description: "Test application",
        propositionId: hsdp_iam_proposition.testprop.id,
    });
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    testapp = hsdp.IamApplication("testapp",
        description="Test application",
        proposition_id=hsdp_iam_proposition["testprop"]["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.NewIamApplication(ctx, "testapp", &hsdp.IamApplicationArgs{
    			Description:   pulumi.String("Test application"),
    			PropositionId: pulumi.Any(hsdp_iam_proposition.Testprop.Id),
    		})
    		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 testapp = new Hsdp.IamApplication("testapp", new()
        {
            Description = "Test application",
            PropositionId = hsdp_iam_proposition.Testprop.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hsdp.IamApplication;
    import com.pulumi.hsdp.IamApplicationArgs;
    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 testapp = new IamApplication("testapp", IamApplicationArgs.builder()
                .description("Test application")
                .propositionId(hsdp_iam_proposition.testprop().id())
                .build());
    
        }
    }
    
    resources:
      testapp:
        type: hsdp:IamApplication
        properties:
          description: Test application
          propositionId: ${hsdp_iam_proposition.testprop.id}
    

    Create IamApplication Resource

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

    Constructor syntax

    new IamApplication(name: string, args: IamApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def IamApplication(resource_name: str,
                       args: IamApplicationArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def IamApplication(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       description: Optional[str] = None,
                       proposition_id: Optional[str] = None,
                       global_reference_id: Optional[str] = None,
                       iam_application_id: Optional[str] = None,
                       name: Optional[str] = None,
                       wait_for_delete: Optional[bool] = None)
    func NewIamApplication(ctx *Context, name string, args IamApplicationArgs, opts ...ResourceOption) (*IamApplication, error)
    public IamApplication(string name, IamApplicationArgs args, CustomResourceOptions? opts = null)
    public IamApplication(String name, IamApplicationArgs args)
    public IamApplication(String name, IamApplicationArgs args, CustomResourceOptions options)
    
    type: hsdp:IamApplication
    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 IamApplicationArgs
    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 IamApplicationArgs
    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 IamApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IamApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IamApplicationArgs
    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 iamApplicationResource = new Hsdp.IamApplication("iamApplicationResource", new()
    {
        Description = "string",
        PropositionId = "string",
        GlobalReferenceId = "string",
        IamApplicationId = "string",
        Name = "string",
        WaitForDelete = false,
    });
    
    example, err := hsdp.NewIamApplication(ctx, "iamApplicationResource", &hsdp.IamApplicationArgs{
    	Description:       pulumi.String("string"),
    	PropositionId:     pulumi.String("string"),
    	GlobalReferenceId: pulumi.String("string"),
    	IamApplicationId:  pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	WaitForDelete:     pulumi.Bool(false),
    })
    
    var iamApplicationResource = new IamApplication("iamApplicationResource", IamApplicationArgs.builder()
        .description("string")
        .propositionId("string")
        .globalReferenceId("string")
        .iamApplicationId("string")
        .name("string")
        .waitForDelete(false)
        .build());
    
    iam_application_resource = hsdp.IamApplication("iamApplicationResource",
        description="string",
        proposition_id="string",
        global_reference_id="string",
        iam_application_id="string",
        name="string",
        wait_for_delete=False)
    
    const iamApplicationResource = new hsdp.IamApplication("iamApplicationResource", {
        description: "string",
        propositionId: "string",
        globalReferenceId: "string",
        iamApplicationId: "string",
        name: "string",
        waitForDelete: false,
    });
    
    type: hsdp:IamApplication
    properties:
        description: string
        globalReferenceId: string
        iamApplicationId: string
        name: string
        propositionId: string
        waitForDelete: false
    

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

    Description string
    The description of the application
    PropositionId string
    the proposition ID (GUID) to attach this a application to
    GlobalReferenceId string
    IamApplicationId string
    The GUID of the application
    Name string
    The name of the application
    WaitForDelete bool
    Blocks until the application delete has completed. Default: false. The application delete process can take some time as all its associated resources like services and clients are removed recursively. This option is useful for ephemeral environments where the same application might be recreated shortly after a destroy operation.
    Description string
    The description of the application
    PropositionId string
    the proposition ID (GUID) to attach this a application to
    GlobalReferenceId string
    IamApplicationId string
    The GUID of the application
    Name string
    The name of the application
    WaitForDelete bool
    Blocks until the application delete has completed. Default: false. The application delete process can take some time as all its associated resources like services and clients are removed recursively. This option is useful for ephemeral environments where the same application might be recreated shortly after a destroy operation.
    description String
    The description of the application
    propositionId String
    the proposition ID (GUID) to attach this a application to
    globalReferenceId String
    iamApplicationId String
    The GUID of the application
    name String
    The name of the application
    waitForDelete Boolean
    Blocks until the application delete has completed. Default: false. The application delete process can take some time as all its associated resources like services and clients are removed recursively. This option is useful for ephemeral environments where the same application might be recreated shortly after a destroy operation.
    description string
    The description of the application
    propositionId string
    the proposition ID (GUID) to attach this a application to
    globalReferenceId string
    iamApplicationId string
    The GUID of the application
    name string
    The name of the application
    waitForDelete boolean
    Blocks until the application delete has completed. Default: false. The application delete process can take some time as all its associated resources like services and clients are removed recursively. This option is useful for ephemeral environments where the same application might be recreated shortly after a destroy operation.
    description str
    The description of the application
    proposition_id str
    the proposition ID (GUID) to attach this a application to
    global_reference_id str
    iam_application_id str
    The GUID of the application
    name str
    The name of the application
    wait_for_delete bool
    Blocks until the application delete has completed. Default: false. The application delete process can take some time as all its associated resources like services and clients are removed recursively. This option is useful for ephemeral environments where the same application might be recreated shortly after a destroy operation.
    description String
    The description of the application
    propositionId String
    the proposition ID (GUID) to attach this a application to
    globalReferenceId String
    iamApplicationId String
    The GUID of the application
    name String
    The name of the application
    waitForDelete Boolean
    Blocks until the application delete has completed. Default: false. The application delete process can take some time as all its associated resources like services and clients are removed recursively. This option is useful for ephemeral environments where the same application might be recreated shortly after a destroy operation.

    Outputs

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

    Get an existing IamApplication 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?: IamApplicationState, opts?: CustomResourceOptions): IamApplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            global_reference_id: Optional[str] = None,
            iam_application_id: Optional[str] = None,
            name: Optional[str] = None,
            proposition_id: Optional[str] = None,
            wait_for_delete: Optional[bool] = None) -> IamApplication
    func GetIamApplication(ctx *Context, name string, id IDInput, state *IamApplicationState, opts ...ResourceOption) (*IamApplication, error)
    public static IamApplication Get(string name, Input<string> id, IamApplicationState? state, CustomResourceOptions? opts = null)
    public static IamApplication get(String name, Output<String> id, IamApplicationState state, CustomResourceOptions options)
    resources:  _:    type: hsdp:IamApplication    get:      id: ${id}
    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:
    Description string
    The description of the application
    GlobalReferenceId string
    IamApplicationId string
    The GUID of the application
    Name string
    The name of the application
    PropositionId string
    the proposition ID (GUID) to attach this a application to
    WaitForDelete bool
    Blocks until the application delete has completed. Default: false. The application delete process can take some time as all its associated resources like services and clients are removed recursively. This option is useful for ephemeral environments where the same application might be recreated shortly after a destroy operation.
    Description string
    The description of the application
    GlobalReferenceId string
    IamApplicationId string
    The GUID of the application
    Name string
    The name of the application
    PropositionId string
    the proposition ID (GUID) to attach this a application to
    WaitForDelete bool
    Blocks until the application delete has completed. Default: false. The application delete process can take some time as all its associated resources like services and clients are removed recursively. This option is useful for ephemeral environments where the same application might be recreated shortly after a destroy operation.
    description String
    The description of the application
    globalReferenceId String
    iamApplicationId String
    The GUID of the application
    name String
    The name of the application
    propositionId String
    the proposition ID (GUID) to attach this a application to
    waitForDelete Boolean
    Blocks until the application delete has completed. Default: false. The application delete process can take some time as all its associated resources like services and clients are removed recursively. This option is useful for ephemeral environments where the same application might be recreated shortly after a destroy operation.
    description string
    The description of the application
    globalReferenceId string
    iamApplicationId string
    The GUID of the application
    name string
    The name of the application
    propositionId string
    the proposition ID (GUID) to attach this a application to
    waitForDelete boolean
    Blocks until the application delete has completed. Default: false. The application delete process can take some time as all its associated resources like services and clients are removed recursively. This option is useful for ephemeral environments where the same application might be recreated shortly after a destroy operation.
    description str
    The description of the application
    global_reference_id str
    iam_application_id str
    The GUID of the application
    name str
    The name of the application
    proposition_id str
    the proposition ID (GUID) to attach this a application to
    wait_for_delete bool
    Blocks until the application delete has completed. Default: false. The application delete process can take some time as all its associated resources like services and clients are removed recursively. This option is useful for ephemeral environments where the same application might be recreated shortly after a destroy operation.
    description String
    The description of the application
    globalReferenceId String
    iamApplicationId String
    The GUID of the application
    name String
    The name of the application
    propositionId String
    the proposition ID (GUID) to attach this a application to
    waitForDelete Boolean
    Blocks until the application delete has completed. Default: false. The application delete process can take some time as all its associated resources like services and clients are removed recursively. This option is useful for ephemeral environments where the same application might be recreated shortly after a destroy operation.

    Import

    $ pulumi import hsdp:index/iamApplication:IamApplication An existing application can be imported using `hsdp_iam_application`, e.g.
    
    $ pulumi import hsdp:index/iamApplication:IamApplication myapp a-guid
    

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

    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