1. Packages
  2. Ibm Provider
  3. API Docs
  4. AppidApplication
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.AppidApplication

Explore with Pulumi AI

Create, update, or delete an IBM Cloud AppID Management Services application resource. For more information, see application identity and authorization

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const app = new ibm.AppidApplication("app", {
    tenantId: _var.tenant_id,
    type: _var.application_type,
});
// singlepageapp | regularwebapp
Copy
import pulumi
import pulumi_ibm as ibm

app = ibm.AppidApplication("app",
    tenant_id=var["tenant_id"],
    type=var["application_type"])
# singlepageapp | regularwebapp
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.NewAppidApplication(ctx, "app", &ibm.AppidApplicationArgs{
			TenantId: pulumi.Any(_var.Tenant_id),
			Type:     pulumi.Any(_var.Application_type),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var app = new Ibm.AppidApplication("app", new()
    {
        TenantId = @var.Tenant_id,
        Type = @var.Application_type,
    });

    // singlepageapp | regularwebapp
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.AppidApplication;
import com.pulumi.ibm.AppidApplicationArgs;
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 app = new AppidApplication("app", AppidApplicationArgs.builder()
            .tenantId(var_.tenant_id())
            .type(var_.application_type())
            .build());

        // singlepageapp | regularwebapp
    }
}
Copy
resources:
  app:
    type: ibm:AppidApplication
    properties:
      tenantId: ${var.tenant_id}
      type: ${var.application_type}
Copy

Create AppidApplication Resource

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

Constructor syntax

new AppidApplication(name: string, args: AppidApplicationArgs, opts?: CustomResourceOptions);
@overload
def AppidApplication(resource_name: str,
                     args: AppidApplicationArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def AppidApplication(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     tenant_id: Optional[str] = None,
                     appid_application_id: Optional[str] = None,
                     name: Optional[str] = None,
                     type: Optional[str] = None)
func NewAppidApplication(ctx *Context, name string, args AppidApplicationArgs, opts ...ResourceOption) (*AppidApplication, error)
public AppidApplication(string name, AppidApplicationArgs args, CustomResourceOptions? opts = null)
public AppidApplication(String name, AppidApplicationArgs args)
public AppidApplication(String name, AppidApplicationArgs args, CustomResourceOptions options)
type: ibm:AppidApplication
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AppidApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AppidApplicationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AppidApplicationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AppidApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AppidApplicationArgs
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 appidApplicationResource = new Ibm.AppidApplication("appidApplicationResource", new()
{
    TenantId = "string",
    AppidApplicationId = "string",
    Name = "string",
    Type = "string",
});
Copy
example, err := ibm.NewAppidApplication(ctx, "appidApplicationResource", &ibm.AppidApplicationArgs{
	TenantId:           pulumi.String("string"),
	AppidApplicationId: pulumi.String("string"),
	Name:               pulumi.String("string"),
	Type:               pulumi.String("string"),
})
Copy
var appidApplicationResource = new AppidApplication("appidApplicationResource", AppidApplicationArgs.builder()
    .tenantId("string")
    .appidApplicationId("string")
    .name("string")
    .type("string")
    .build());
Copy
appid_application_resource = ibm.AppidApplication("appidApplicationResource",
    tenant_id="string",
    appid_application_id="string",
    name="string",
    type="string")
Copy
const appidApplicationResource = new ibm.AppidApplication("appidApplicationResource", {
    tenantId: "string",
    appidApplicationId: "string",
    name: "string",
    type: "string",
});
Copy
type: ibm:AppidApplication
properties:
    appidApplicationId: string
    name: string
    tenantId: string
    type: string
Copy

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

TenantId This property is required. string
The AppID instance GUID
AppidApplicationId string
Name string
The AppID application name
Type string
The AppID application type, supported values are singlepageapp and regularwebapp (default)
TenantId This property is required. string
The AppID instance GUID
AppidApplicationId string
Name string
The AppID application name
Type string
The AppID application type, supported values are singlepageapp and regularwebapp (default)
tenantId This property is required. String
The AppID instance GUID
appidApplicationId String
name String
The AppID application name
type String
The AppID application type, supported values are singlepageapp and regularwebapp (default)
tenantId This property is required. string
The AppID instance GUID
appidApplicationId string
name string
The AppID application name
type string
The AppID application type, supported values are singlepageapp and regularwebapp (default)
tenant_id This property is required. str
The AppID instance GUID
appid_application_id str
name str
The AppID application name
type str
The AppID application type, supported values are singlepageapp and regularwebapp (default)
tenantId This property is required. String
The AppID instance GUID
appidApplicationId String
name String
The AppID application name
type String
The AppID application type, supported values are singlepageapp and regularwebapp (default)

Outputs

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

ClientId string
(String) The AppID application identifier
DiscoveryEndpoint string
(String) This URL returns OAuth Authorization Server Metadata
Id string
The provider-assigned unique ID for this managed resource.
OauthServerUrl string
(String) Base URL for common OAuth endpoints, like /authorization, /token and /publickeys
ProfilesUrl string
(String) Base AppID API endpoint
Secret string
(String, Sensitive) The secret is a secret known only to the application and the authorization server
ClientId string
(String) The AppID application identifier
DiscoveryEndpoint string
(String) This URL returns OAuth Authorization Server Metadata
Id string
The provider-assigned unique ID for this managed resource.
OauthServerUrl string
(String) Base URL for common OAuth endpoints, like /authorization, /token and /publickeys
ProfilesUrl string
(String) Base AppID API endpoint
Secret string
(String, Sensitive) The secret is a secret known only to the application and the authorization server
clientId String
(String) The AppID application identifier
discoveryEndpoint String
(String) This URL returns OAuth Authorization Server Metadata
id String
The provider-assigned unique ID for this managed resource.
oauthServerUrl String
(String) Base URL for common OAuth endpoints, like /authorization, /token and /publickeys
profilesUrl String
(String) Base AppID API endpoint
secret String
(String, Sensitive) The secret is a secret known only to the application and the authorization server
clientId string
(String) The AppID application identifier
discoveryEndpoint string
(String) This URL returns OAuth Authorization Server Metadata
id string
The provider-assigned unique ID for this managed resource.
oauthServerUrl string
(String) Base URL for common OAuth endpoints, like /authorization, /token and /publickeys
profilesUrl string
(String) Base AppID API endpoint
secret string
(String, Sensitive) The secret is a secret known only to the application and the authorization server
client_id str
(String) The AppID application identifier
discovery_endpoint str
(String) This URL returns OAuth Authorization Server Metadata
id str
The provider-assigned unique ID for this managed resource.
oauth_server_url str
(String) Base URL for common OAuth endpoints, like /authorization, /token and /publickeys
profiles_url str
(String) Base AppID API endpoint
secret str
(String, Sensitive) The secret is a secret known only to the application and the authorization server
clientId String
(String) The AppID application identifier
discoveryEndpoint String
(String) This URL returns OAuth Authorization Server Metadata
id String
The provider-assigned unique ID for this managed resource.
oauthServerUrl String
(String) Base URL for common OAuth endpoints, like /authorization, /token and /publickeys
profilesUrl String
(String) Base AppID API endpoint
secret String
(String, Sensitive) The secret is a secret known only to the application and the authorization server

Look up Existing AppidApplication Resource

Get an existing AppidApplication 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?: AppidApplicationState, opts?: CustomResourceOptions): AppidApplication
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        appid_application_id: Optional[str] = None,
        client_id: Optional[str] = None,
        discovery_endpoint: Optional[str] = None,
        name: Optional[str] = None,
        oauth_server_url: Optional[str] = None,
        profiles_url: Optional[str] = None,
        secret: Optional[str] = None,
        tenant_id: Optional[str] = None,
        type: Optional[str] = None) -> AppidApplication
func GetAppidApplication(ctx *Context, name string, id IDInput, state *AppidApplicationState, opts ...ResourceOption) (*AppidApplication, error)
public static AppidApplication Get(string name, Input<string> id, AppidApplicationState? state, CustomResourceOptions? opts = null)
public static AppidApplication get(String name, Output<String> id, AppidApplicationState state, CustomResourceOptions options)
resources:  _:    type: ibm:AppidApplication    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AppidApplicationId string
ClientId string
(String) The AppID application identifier
DiscoveryEndpoint string
(String) This URL returns OAuth Authorization Server Metadata
Name string
The AppID application name
OauthServerUrl string
(String) Base URL for common OAuth endpoints, like /authorization, /token and /publickeys
ProfilesUrl string
(String) Base AppID API endpoint
Secret string
(String, Sensitive) The secret is a secret known only to the application and the authorization server
TenantId string
The AppID instance GUID
Type string
The AppID application type, supported values are singlepageapp and regularwebapp (default)
AppidApplicationId string
ClientId string
(String) The AppID application identifier
DiscoveryEndpoint string
(String) This URL returns OAuth Authorization Server Metadata
Name string
The AppID application name
OauthServerUrl string
(String) Base URL for common OAuth endpoints, like /authorization, /token and /publickeys
ProfilesUrl string
(String) Base AppID API endpoint
Secret string
(String, Sensitive) The secret is a secret known only to the application and the authorization server
TenantId string
The AppID instance GUID
Type string
The AppID application type, supported values are singlepageapp and regularwebapp (default)
appidApplicationId String
clientId String
(String) The AppID application identifier
discoveryEndpoint String
(String) This URL returns OAuth Authorization Server Metadata
name String
The AppID application name
oauthServerUrl String
(String) Base URL for common OAuth endpoints, like /authorization, /token and /publickeys
profilesUrl String
(String) Base AppID API endpoint
secret String
(String, Sensitive) The secret is a secret known only to the application and the authorization server
tenantId String
The AppID instance GUID
type String
The AppID application type, supported values are singlepageapp and regularwebapp (default)
appidApplicationId string
clientId string
(String) The AppID application identifier
discoveryEndpoint string
(String) This URL returns OAuth Authorization Server Metadata
name string
The AppID application name
oauthServerUrl string
(String) Base URL for common OAuth endpoints, like /authorization, /token and /publickeys
profilesUrl string
(String) Base AppID API endpoint
secret string
(String, Sensitive) The secret is a secret known only to the application and the authorization server
tenantId string
The AppID instance GUID
type string
The AppID application type, supported values are singlepageapp and regularwebapp (default)
appid_application_id str
client_id str
(String) The AppID application identifier
discovery_endpoint str
(String) This URL returns OAuth Authorization Server Metadata
name str
The AppID application name
oauth_server_url str
(String) Base URL for common OAuth endpoints, like /authorization, /token and /publickeys
profiles_url str
(String) Base AppID API endpoint
secret str
(String, Sensitive) The secret is a secret known only to the application and the authorization server
tenant_id str
The AppID instance GUID
type str
The AppID application type, supported values are singlepageapp and regularwebapp (default)
appidApplicationId String
clientId String
(String) The AppID application identifier
discoveryEndpoint String
(String) This URL returns OAuth Authorization Server Metadata
name String
The AppID application name
oauthServerUrl String
(String) Base URL for common OAuth endpoints, like /authorization, /token and /publickeys
profilesUrl String
(String) Base AppID API endpoint
secret String
(String, Sensitive) The secret is a secret known only to the application and the authorization server
tenantId String
The AppID instance GUID
type String
The AppID application type, supported values are singlepageapp and regularwebapp (default)

Import

The ibm_appid_application resource can be imported by using the AppID tenant ID and application client ID.

Syntax

bash

$ pulumi import ibm:index/appidApplication:AppidApplication app <tenant_id>/<client_id>
Copy

Example

bash

$ pulumi import ibm:index/appidApplication:AppidApplication app 5fa344a8-d361-4bc2-9051-58ca253f4b2b/03cd638a-b35a-43f2-a58a-c2d3fe26aaea
Copy

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

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.