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
import pulumi
import pulumi_ibm as ibm
app = ibm.AppidApplication("app",
tenant_id=var["tenant_id"],
type=var["application_type"])
# singlepageapp | regularwebapp
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
})
}
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
});
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
}
}
resources:
app:
type: ibm:AppidApplication
properties:
tenantId: ${var.tenant_id}
type: ${var.application_type}
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 string
- The unique name of the resource.
- args AppidApplicationArgs
- 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 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 string
- The unique name of the resource.
- args AppidApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppidApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := ibm.NewAppidApplication(ctx, "appidApplicationResource", &ibm.AppidApplicationArgs{
TenantId: pulumi.String("string"),
AppidApplicationId: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
})
var appidApplicationResource = new AppidApplication("appidApplicationResource", AppidApplicationArgs.builder()
.tenantId("string")
.appidApplicationId("string")
.name("string")
.type("string")
.build());
appid_application_resource = ibm.AppidApplication("appidApplicationResource",
tenant_id="string",
appid_application_id="string",
name="string",
type="string")
const appidApplicationResource = new ibm.AppidApplication("appidApplicationResource", {
tenantId: "string",
appidApplicationId: "string",
name: "string",
type: "string",
});
type: ibm:AppidApplication
properties:
appidApplicationId: string
name: string
tenantId: string
type: string
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:
- Tenant
Id string - The AppID instance GUID
- Appid
Application stringId - Name string
- The AppID application name
- Type string
- The AppID application type, supported values are
singlepageapp
andregularwebapp
(default)
- Tenant
Id string - The AppID instance GUID
- Appid
Application stringId - Name string
- The AppID application name
- Type string
- The AppID application type, supported values are
singlepageapp
andregularwebapp
(default)
- tenant
Id String - The AppID instance GUID
- appid
Application StringId - name String
- The AppID application name
- type String
- The AppID application type, supported values are
singlepageapp
andregularwebapp
(default)
- tenant
Id string - The AppID instance GUID
- appid
Application stringId - name string
- The AppID application name
- type string
- The AppID application type, supported values are
singlepageapp
andregularwebapp
(default)
- tenant_
id str - The AppID instance GUID
- appid_
application_ strid - name str
- The AppID application name
- type str
- The AppID application type, supported values are
singlepageapp
andregularwebapp
(default)
- tenant
Id String - The AppID instance GUID
- appid
Application StringId - name String
- The AppID application name
- type String
- The AppID application type, supported values are
singlepageapp
andregularwebapp
(default)
Outputs
All input properties are implicitly available as output properties. Additionally, the AppidApplication resource produces the following output properties:
- Client
Id string - (String) The AppID application identifier
- Discovery
Endpoint string - (String) This URL returns OAuth Authorization Server Metadata
- Id string
- The provider-assigned unique ID for this managed resource.
- Oauth
Server stringUrl - (String) Base URL for common OAuth endpoints, like
/authorization
,/token
and/publickeys
- Profiles
Url 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 string - (String) The AppID application identifier
- Discovery
Endpoint string - (String) This URL returns OAuth Authorization Server Metadata
- Id string
- The provider-assigned unique ID for this managed resource.
- Oauth
Server stringUrl - (String) Base URL for common OAuth endpoints, like
/authorization
,/token
and/publickeys
- Profiles
Url 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 String - (String) The AppID application identifier
- discovery
Endpoint String - (String) This URL returns OAuth Authorization Server Metadata
- id String
- The provider-assigned unique ID for this managed resource.
- oauth
Server StringUrl - (String) Base URL for common OAuth endpoints, like
/authorization
,/token
and/publickeys
- profiles
Url 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 string - (String) The AppID application identifier
- discovery
Endpoint string - (String) This URL returns OAuth Authorization Server Metadata
- id string
- The provider-assigned unique ID for this managed resource.
- oauth
Server stringUrl - (String) Base URL for common OAuth endpoints, like
/authorization
,/token
and/publickeys
- profiles
Url 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_ strurl - (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
- client
Id String - (String) The AppID application identifier
- discovery
Endpoint String - (String) This URL returns OAuth Authorization Server Metadata
- id String
- The provider-assigned unique ID for this managed resource.
- oauth
Server StringUrl - (String) Base URL for common OAuth endpoints, like
/authorization
,/token
and/publickeys
- profiles
Url 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
- 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.
- Appid
Application stringId - Client
Id string - (String) The AppID application identifier
- Discovery
Endpoint string - (String) This URL returns OAuth Authorization Server Metadata
- Name string
- The AppID application name
- Oauth
Server stringUrl - (String) Base URL for common OAuth endpoints, like
/authorization
,/token
and/publickeys
- Profiles
Url string - (String) Base AppID API endpoint
- Secret string
- (String, Sensitive) The
secret
is a secret known only to the application and the authorization server - Tenant
Id string - The AppID instance GUID
- Type string
- The AppID application type, supported values are
singlepageapp
andregularwebapp
(default)
- Appid
Application stringId - Client
Id string - (String) The AppID application identifier
- Discovery
Endpoint string - (String) This URL returns OAuth Authorization Server Metadata
- Name string
- The AppID application name
- Oauth
Server stringUrl - (String) Base URL for common OAuth endpoints, like
/authorization
,/token
and/publickeys
- Profiles
Url string - (String) Base AppID API endpoint
- Secret string
- (String, Sensitive) The
secret
is a secret known only to the application and the authorization server - Tenant
Id string - The AppID instance GUID
- Type string
- The AppID application type, supported values are
singlepageapp
andregularwebapp
(default)
- appid
Application StringId - client
Id String - (String) The AppID application identifier
- discovery
Endpoint String - (String) This URL returns OAuth Authorization Server Metadata
- name String
- The AppID application name
- oauth
Server StringUrl - (String) Base URL for common OAuth endpoints, like
/authorization
,/token
and/publickeys
- profiles
Url String - (String) Base AppID API endpoint
- secret String
- (String, Sensitive) The
secret
is a secret known only to the application and the authorization server - tenant
Id String - The AppID instance GUID
- type String
- The AppID application type, supported values are
singlepageapp
andregularwebapp
(default)
- appid
Application stringId - client
Id string - (String) The AppID application identifier
- discovery
Endpoint string - (String) This URL returns OAuth Authorization Server Metadata
- name string
- The AppID application name
- oauth
Server stringUrl - (String) Base URL for common OAuth endpoints, like
/authorization
,/token
and/publickeys
- profiles
Url string - (String) Base AppID API endpoint
- secret string
- (String, Sensitive) The
secret
is a secret known only to the application and the authorization server - tenant
Id string - The AppID instance GUID
- type string
- The AppID application type, supported values are
singlepageapp
andregularwebapp
(default)
- appid_
application_ strid - 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_ strurl - (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
andregularwebapp
(default)
- appid
Application StringId - client
Id String - (String) The AppID application identifier
- discovery
Endpoint String - (String) This URL returns OAuth Authorization Server Metadata
- name String
- The AppID application name
- oauth
Server StringUrl - (String) Base URL for common OAuth endpoints, like
/authorization
,/token
and/publickeys
- profiles
Url String - (String) Base AppID API endpoint
- secret String
- (String, Sensitive) The
secret
is a secret known only to the application and the authorization server - tenant
Id String - The AppID instance GUID
- type String
- The AppID application type, supported values are
singlepageapp
andregularwebapp
(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>
Example
bash
$ pulumi import ibm:index/appidApplication:AppidApplication app 5fa344a8-d361-4bc2-9051-58ca253f4b2b/03cd638a-b35a-43f2-a58a-c2d3fe26aaea
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.