ibm.AppidThemeText
Explore with Pulumi AI
Create, update, or delete an IBM Cloud AppID Management Services theme text resource. For more information, see customizing the login widget
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const text = new ibm.AppidThemeText("text", {
tenantId: _var.tenant_id,
tabTitle: "App Login",
footnote: "Powered by IBM AppID",
});
import pulumi
import pulumi_ibm as ibm
text = ibm.AppidThemeText("text",
tenant_id=var["tenant_id"],
tab_title="App Login",
footnote="Powered by IBM AppID")
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.NewAppidThemeText(ctx, "text", &ibm.AppidThemeTextArgs{
TenantId: pulumi.Any(_var.Tenant_id),
TabTitle: pulumi.String("App Login"),
Footnote: pulumi.String("Powered by IBM AppID"),
})
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 text = new Ibm.AppidThemeText("text", new()
{
TenantId = @var.Tenant_id,
TabTitle = "App Login",
Footnote = "Powered by IBM AppID",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.AppidThemeText;
import com.pulumi.ibm.AppidThemeTextArgs;
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 text = new AppidThemeText("text", AppidThemeTextArgs.builder()
.tenantId(var_.tenant_id())
.tabTitle("App Login")
.footnote("Powered by IBM AppID")
.build());
}
}
resources:
text:
type: ibm:AppidThemeText
properties:
tenantId: ${var.tenant_id}
tabTitle: App Login
footnote: Powered by IBM AppID
Create AppidThemeText Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppidThemeText(name: string, args: AppidThemeTextArgs, opts?: CustomResourceOptions);
@overload
def AppidThemeText(resource_name: str,
args: AppidThemeTextArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppidThemeText(resource_name: str,
opts: Optional[ResourceOptions] = None,
tenant_id: Optional[str] = None,
appid_theme_text_id: Optional[str] = None,
footnote: Optional[str] = None,
tab_title: Optional[str] = None)
func NewAppidThemeText(ctx *Context, name string, args AppidThemeTextArgs, opts ...ResourceOption) (*AppidThemeText, error)
public AppidThemeText(string name, AppidThemeTextArgs args, CustomResourceOptions? opts = null)
public AppidThemeText(String name, AppidThemeTextArgs args)
public AppidThemeText(String name, AppidThemeTextArgs args, CustomResourceOptions options)
type: ibm:AppidThemeText
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 AppidThemeTextArgs
- 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 AppidThemeTextArgs
- 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 AppidThemeTextArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppidThemeTextArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppidThemeTextArgs
- 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 appidThemeTextResource = new Ibm.AppidThemeText("appidThemeTextResource", new()
{
TenantId = "string",
AppidThemeTextId = "string",
Footnote = "string",
TabTitle = "string",
});
example, err := ibm.NewAppidThemeText(ctx, "appidThemeTextResource", &ibm.AppidThemeTextArgs{
TenantId: pulumi.String("string"),
AppidThemeTextId: pulumi.String("string"),
Footnote: pulumi.String("string"),
TabTitle: pulumi.String("string"),
})
var appidThemeTextResource = new AppidThemeText("appidThemeTextResource", AppidThemeTextArgs.builder()
.tenantId("string")
.appidThemeTextId("string")
.footnote("string")
.tabTitle("string")
.build());
appid_theme_text_resource = ibm.AppidThemeText("appidThemeTextResource",
tenant_id="string",
appid_theme_text_id="string",
footnote="string",
tab_title="string")
const appidThemeTextResource = new ibm.AppidThemeText("appidThemeTextResource", {
tenantId: "string",
appidThemeTextId: "string",
footnote: "string",
tabTitle: "string",
});
type: ibm:AppidThemeText
properties:
appidThemeTextId: string
footnote: string
tabTitle: string
tenantId: string
AppidThemeText 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 AppidThemeText resource accepts the following input properties:
- Tenant
Id string - The AppID instance GUID
- Appid
Theme stringText Id - Footnote string
- Footnote
- Tab
Title string - The tab name that will be displayed in the browser
- Tenant
Id string - The AppID instance GUID
- Appid
Theme stringText Id - Footnote string
- Footnote
- Tab
Title string - The tab name that will be displayed in the browser
- tenant
Id String - The AppID instance GUID
- appid
Theme StringText Id - footnote String
- Footnote
- tab
Title String - The tab name that will be displayed in the browser
- tenant
Id string - The AppID instance GUID
- appid
Theme stringText Id - footnote string
- Footnote
- tab
Title string - The tab name that will be displayed in the browser
- tenant_
id str - The AppID instance GUID
- appid_
theme_ strtext_ id - footnote str
- Footnote
- tab_
title str - The tab name that will be displayed in the browser
- tenant
Id String - The AppID instance GUID
- appid
Theme StringText Id - footnote String
- Footnote
- tab
Title String - The tab name that will be displayed in the browser
Outputs
All input properties are implicitly available as output properties. Additionally, the AppidThemeText 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 AppidThemeText Resource
Get an existing AppidThemeText 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?: AppidThemeTextState, opts?: CustomResourceOptions): AppidThemeText
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
appid_theme_text_id: Optional[str] = None,
footnote: Optional[str] = None,
tab_title: Optional[str] = None,
tenant_id: Optional[str] = None) -> AppidThemeText
func GetAppidThemeText(ctx *Context, name string, id IDInput, state *AppidThemeTextState, opts ...ResourceOption) (*AppidThemeText, error)
public static AppidThemeText Get(string name, Input<string> id, AppidThemeTextState? state, CustomResourceOptions? opts = null)
public static AppidThemeText get(String name, Output<String> id, AppidThemeTextState state, CustomResourceOptions options)
resources: _: type: ibm:AppidThemeText 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
Theme stringText Id - Footnote string
- Footnote
- Tab
Title string - The tab name that will be displayed in the browser
- Tenant
Id string - The AppID instance GUID
- Appid
Theme stringText Id - Footnote string
- Footnote
- Tab
Title string - The tab name that will be displayed in the browser
- Tenant
Id string - The AppID instance GUID
- appid
Theme StringText Id - footnote String
- Footnote
- tab
Title String - The tab name that will be displayed in the browser
- tenant
Id String - The AppID instance GUID
- appid
Theme stringText Id - footnote string
- Footnote
- tab
Title string - The tab name that will be displayed in the browser
- tenant
Id string - The AppID instance GUID
- appid_
theme_ strtext_ id - footnote str
- Footnote
- tab_
title str - The tab name that will be displayed in the browser
- tenant_
id str - The AppID instance GUID
- appid
Theme StringText Id - footnote String
- Footnote
- tab
Title String - The tab name that will be displayed in the browser
- tenant
Id String - The AppID instance GUID
Import
The ibm_appid_theme_text
resource can be imported by using the AppID tenant ID.
Syntax
bash
$ pulumi import ibm:index/appidThemeText:AppidThemeText text <tenant_id>
Example
bash
$ pulumi import ibm:index/appidThemeText:AppidThemeText text 5fa344a8-d361-4bc2-9051-58ca253f4b2b
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.