1. Packages
  2. Ibm Provider
  3. API Docs
  4. AppidThemeColor
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.AppidThemeColor

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create, update, or delete an IBM Cloud AppID Management Services theme color resource. For more information, see customizing the login widget

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const theme = new ibm.AppidThemeColor("theme", {
        tenantId: _var.tenant_id,
        headerColor: "#000000",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    theme = ibm.AppidThemeColor("theme",
        tenant_id=var["tenant_id"],
        header_color="#000000")
    
    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.NewAppidThemeColor(ctx, "theme", &ibm.AppidThemeColorArgs{
    			TenantId:    pulumi.Any(_var.Tenant_id),
    			HeaderColor: pulumi.String("#000000"),
    		})
    		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 theme = new Ibm.AppidThemeColor("theme", new()
        {
            TenantId = @var.Tenant_id,
            HeaderColor = "#000000",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.AppidThemeColor;
    import com.pulumi.ibm.AppidThemeColorArgs;
    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 theme = new AppidThemeColor("theme", AppidThemeColorArgs.builder()
                .tenantId(var_.tenant_id())
                .headerColor("#000000")
                .build());
    
        }
    }
    
    resources:
      theme:
        type: ibm:AppidThemeColor
        properties:
          tenantId: ${var.tenant_id}
          headerColor: '#000000'
    

    Create AppidThemeColor Resource

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

    Constructor syntax

    new AppidThemeColor(name: string, args: AppidThemeColorArgs, opts?: CustomResourceOptions);
    @overload
    def AppidThemeColor(resource_name: str,
                        args: AppidThemeColorArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppidThemeColor(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        header_color: Optional[str] = None,
                        tenant_id: Optional[str] = None,
                        appid_theme_color_id: Optional[str] = None)
    func NewAppidThemeColor(ctx *Context, name string, args AppidThemeColorArgs, opts ...ResourceOption) (*AppidThemeColor, error)
    public AppidThemeColor(string name, AppidThemeColorArgs args, CustomResourceOptions? opts = null)
    public AppidThemeColor(String name, AppidThemeColorArgs args)
    public AppidThemeColor(String name, AppidThemeColorArgs args, CustomResourceOptions options)
    
    type: ibm:AppidThemeColor
    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 AppidThemeColorArgs
    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 AppidThemeColorArgs
    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 AppidThemeColorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppidThemeColorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppidThemeColorArgs
    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 appidThemeColorResource = new Ibm.AppidThemeColor("appidThemeColorResource", new()
    {
        HeaderColor = "string",
        TenantId = "string",
        AppidThemeColorId = "string",
    });
    
    example, err := ibm.NewAppidThemeColor(ctx, "appidThemeColorResource", &ibm.AppidThemeColorArgs{
    	HeaderColor:       pulumi.String("string"),
    	TenantId:          pulumi.String("string"),
    	AppidThemeColorId: pulumi.String("string"),
    })
    
    var appidThemeColorResource = new AppidThemeColor("appidThemeColorResource", AppidThemeColorArgs.builder()
        .headerColor("string")
        .tenantId("string")
        .appidThemeColorId("string")
        .build());
    
    appid_theme_color_resource = ibm.AppidThemeColor("appidThemeColorResource",
        header_color="string",
        tenant_id="string",
        appid_theme_color_id="string")
    
    const appidThemeColorResource = new ibm.AppidThemeColor("appidThemeColorResource", {
        headerColor: "string",
        tenantId: "string",
        appidThemeColorId: "string",
    });
    
    type: ibm:AppidThemeColor
    properties:
        appidThemeColorId: string
        headerColor: string
        tenantId: string
    

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

    HeaderColor string
    Header color for AppID login screen
    TenantId string
    The AppID instance GUID
    AppidThemeColorId string
    HeaderColor string
    Header color for AppID login screen
    TenantId string
    The AppID instance GUID
    AppidThemeColorId string
    headerColor String
    Header color for AppID login screen
    tenantId String
    The AppID instance GUID
    appidThemeColorId String
    headerColor string
    Header color for AppID login screen
    tenantId string
    The AppID instance GUID
    appidThemeColorId string
    header_color str
    Header color for AppID login screen
    tenant_id str
    The AppID instance GUID
    appid_theme_color_id str
    headerColor String
    Header color for AppID login screen
    tenantId String
    The AppID instance GUID
    appidThemeColorId String

    Outputs

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

    Get an existing AppidThemeColor 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?: AppidThemeColorState, opts?: CustomResourceOptions): AppidThemeColor
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            appid_theme_color_id: Optional[str] = None,
            header_color: Optional[str] = None,
            tenant_id: Optional[str] = None) -> AppidThemeColor
    func GetAppidThemeColor(ctx *Context, name string, id IDInput, state *AppidThemeColorState, opts ...ResourceOption) (*AppidThemeColor, error)
    public static AppidThemeColor Get(string name, Input<string> id, AppidThemeColorState? state, CustomResourceOptions? opts = null)
    public static AppidThemeColor get(String name, Output<String> id, AppidThemeColorState state, CustomResourceOptions options)
    resources:  _:    type: ibm:AppidThemeColor    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:
    AppidThemeColorId string
    HeaderColor string
    Header color for AppID login screen
    TenantId string
    The AppID instance GUID
    AppidThemeColorId string
    HeaderColor string
    Header color for AppID login screen
    TenantId string
    The AppID instance GUID
    appidThemeColorId String
    headerColor String
    Header color for AppID login screen
    tenantId String
    The AppID instance GUID
    appidThemeColorId string
    headerColor string
    Header color for AppID login screen
    tenantId string
    The AppID instance GUID
    appid_theme_color_id str
    header_color str
    Header color for AppID login screen
    tenant_id str
    The AppID instance GUID
    appidThemeColorId String
    headerColor String
    Header color for AppID login screen
    tenantId String
    The AppID instance GUID

    Import

    The ibm_appid_theme_color resource can be imported by using the AppID tenant ID.

    Syntax

    bash

    $ pulumi import ibm:index/appidThemeColor:AppidThemeColor theme <tenant_id>
    

    Example

    bash

    $ pulumi import ibm:index/appidThemeColor:AppidThemeColor theme 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.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud