hsdp.IamApplication
Explore with Pulumi AI
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
- Proposition
Id string - the proposition ID (GUID) to attach this a application to
- Global
Reference stringId - Iam
Application stringId - The GUID of the application
- Name string
- The name of the application
- Wait
For boolDelete - 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
- Proposition
Id string - the proposition ID (GUID) to attach this a application to
- Global
Reference stringId - Iam
Application stringId - The GUID of the application
- Name string
- The name of the application
- Wait
For boolDelete - 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
- proposition
Id String - the proposition ID (GUID) to attach this a application to
- global
Reference StringId - iam
Application StringId - The GUID of the application
- name String
- The name of the application
- wait
For BooleanDelete - 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
- proposition
Id string - the proposition ID (GUID) to attach this a application to
- global
Reference stringId - iam
Application stringId - The GUID of the application
- name string
- The name of the application
- wait
For booleanDelete - 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_ strid - iam_
application_ strid - The GUID of the application
- name str
- The name of the application
- wait_
for_ booldelete - 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
- proposition
Id String - the proposition ID (GUID) to attach this a application to
- global
Reference StringId - iam
Application StringId - The GUID of the application
- name String
- The name of the application
- wait
For BooleanDelete - 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.
- Description string
- The description of the application
- Global
Reference stringId - Iam
Application stringId - The GUID of the application
- Name string
- The name of the application
- Proposition
Id string - the proposition ID (GUID) to attach this a application to
- Wait
For boolDelete - 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
- Global
Reference stringId - Iam
Application stringId - The GUID of the application
- Name string
- The name of the application
- Proposition
Id string - the proposition ID (GUID) to attach this a application to
- Wait
For boolDelete - 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
- global
Reference StringId - iam
Application StringId - The GUID of the application
- name String
- The name of the application
- proposition
Id String - the proposition ID (GUID) to attach this a application to
- wait
For BooleanDelete - 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
- global
Reference stringId - iam
Application stringId - The GUID of the application
- name string
- The name of the application
- proposition
Id string - the proposition ID (GUID) to attach this a application to
- wait
For booleanDelete - 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_ strid - iam_
application_ strid - 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_ booldelete - 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
- global
Reference StringId - iam
Application StringId - The GUID of the application
- name String
- The name of the application
- proposition
Id String - the proposition ID (GUID) to attach this a application to
- wait
For BooleanDelete - 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.