Viewing docs for Okta v6.3.1
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for Okta v6.3.1
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Get Themes of a Brand of an Okta Organization.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const test = okta.getBrands({});
const example = test.then(test => okta.getThemes({
brandId: test.brands?.[0]?.id,
}));
import pulumi
import pulumi_okta as okta
test = okta.get_brands()
example = okta.get_themes(brand_id=test.brands[0].id)
package main
import (
"github.com/pulumi/pulumi-okta/sdk/v6/go/okta"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := okta.GetBrands(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
_, err = okta.GetThemes(ctx, &okta.GetThemesArgs{
BrandId: test.Brands[0].Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Okta = Pulumi.Okta;
return await Deployment.RunAsync(() =>
{
var test = Okta.GetBrands.Invoke();
var example = Okta.GetThemes.Invoke(new()
{
BrandId = test.Apply(getBrandsResult => getBrandsResult.Brands[0]?.Id),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.OktaFunctions;
import com.pulumi.okta.inputs.GetThemesArgs;
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) {
final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
final var example = OktaFunctions.getThemes(GetThemesArgs.builder()
.brandId(test.brands()[0].id())
.build());
}
}
variables:
test:
fn::invoke:
function: okta:getBrands
arguments: {}
example:
fn::invoke:
function: okta:getThemes
arguments:
brandId: ${test.brands[0].id}
Using getThemes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getThemes(args: GetThemesArgs, opts?: InvokeOptions): Promise<GetThemesResult>
function getThemesOutput(args: GetThemesOutputArgs, opts?: InvokeOptions): Output<GetThemesResult>def get_themes(brand_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetThemesResult
def get_themes_output(brand_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetThemesResult]func GetThemes(ctx *Context, args *GetThemesArgs, opts ...InvokeOption) (*GetThemesResult, error)
func GetThemesOutput(ctx *Context, args *GetThemesOutputArgs, opts ...InvokeOption) GetThemesResultOutput> Note: This function is named GetThemes in the Go SDK.
public static class GetThemes
{
public static Task<GetThemesResult> InvokeAsync(GetThemesArgs args, InvokeOptions? opts = null)
public static Output<GetThemesResult> Invoke(GetThemesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetThemesResult> getThemes(GetThemesArgs args, InvokeOptions options)
public static Output<GetThemesResult> getThemes(GetThemesArgs args, InvokeOptions options)
fn::invoke:
function: okta:index/getThemes:getThemes
arguments:
# arguments dictionaryThe following arguments are supported:
- Brand
Id string - Brand ID
- Brand
Id string - Brand ID
- brand
Id String - Brand ID
- brand
Id string - Brand ID
- brand_
id str - Brand ID
- brand
Id String - Brand ID
getThemes Result
The following output properties are available:
- Brand
Id string - Brand ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Themes
List<Get
Themes Theme> - List of
okta_thembelonging to the brand in the organization
- Brand
Id string - Brand ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Themes
[]Get
Themes Theme - List of
okta_thembelonging to the brand in the organization
- brand
Id String - Brand ID
- id String
- The provider-assigned unique ID for this managed resource.
- themes
List<Get
Themes Theme> - List of
okta_thembelonging to the brand in the organization
- brand
Id string - Brand ID
- id string
- The provider-assigned unique ID for this managed resource.
- themes
Get
Themes Theme[] - List of
okta_thembelonging to the brand in the organization
- brand_
id str - Brand ID
- id str
- The provider-assigned unique ID for this managed resource.
- themes
Sequence[Get
Themes Theme] - List of
okta_thembelonging to the brand in the organization
- brand
Id String - Brand ID
- id String
- The provider-assigned unique ID for this managed resource.
- themes List<Property Map>
- List of
okta_thembelonging to the brand in the organization
Supporting Types
GetThemesTheme
- Background
Image stringUrl - Background image URL
- Email
Template stringTouch Point Variant - Variant for email templates (
OKTA_DEFAULT,FULL_THEME) - End
User stringDashboard Touch Point Variant - Variant for the Okta End-User Dashboard (
OKTA_DEFAULT,WHITE_LOGO_BACKGROUND,FULL_THEME,LOGO_ON_FULL_WHITE_BACKGROUND) - Error
Page stringTouch Point Variant - Variant for the error page (
OKTA_DEFAULT,BACKGROUND_SECONDARY_COLOR,BACKGROUND_IMAGE) - Favicon
Url string - Favicon URL
- Id string
- The ID of the theme
- Links string
- Link relations for this object - JSON HAL - Discoverable resources related to the email template
- Logo
Url string - Logo URL
- Primary
Color stringContrast Hex - Primary color contrast hex code
- Primary
Color stringHex - Primary color hex code
- Secondary
Color stringContrast Hex - Secondary color contrast hex code
- Secondary
Color stringHex - Secondary color hex code
- Sign
In stringPage Touch Point Variant - Variant for the Okta Sign-In Page (
OKTA_DEFAULT,BACKGROUND_SECONDARY_COLOR,BACKGROUND_IMAGE)
- Background
Image stringUrl - Background image URL
- Email
Template stringTouch Point Variant - Variant for email templates (
OKTA_DEFAULT,FULL_THEME) - End
User stringDashboard Touch Point Variant - Variant for the Okta End-User Dashboard (
OKTA_DEFAULT,WHITE_LOGO_BACKGROUND,FULL_THEME,LOGO_ON_FULL_WHITE_BACKGROUND) - Error
Page stringTouch Point Variant - Variant for the error page (
OKTA_DEFAULT,BACKGROUND_SECONDARY_COLOR,BACKGROUND_IMAGE) - Favicon
Url string - Favicon URL
- Id string
- The ID of the theme
- Links string
- Link relations for this object - JSON HAL - Discoverable resources related to the email template
- Logo
Url string - Logo URL
- Primary
Color stringContrast Hex - Primary color contrast hex code
- Primary
Color stringHex - Primary color hex code
- Secondary
Color stringContrast Hex - Secondary color contrast hex code
- Secondary
Color stringHex - Secondary color hex code
- Sign
In stringPage Touch Point Variant - Variant for the Okta Sign-In Page (
OKTA_DEFAULT,BACKGROUND_SECONDARY_COLOR,BACKGROUND_IMAGE)
- background
Image StringUrl - Background image URL
- email
Template StringTouch Point Variant - Variant for email templates (
OKTA_DEFAULT,FULL_THEME) - end
User StringDashboard Touch Point Variant - Variant for the Okta End-User Dashboard (
OKTA_DEFAULT,WHITE_LOGO_BACKGROUND,FULL_THEME,LOGO_ON_FULL_WHITE_BACKGROUND) - error
Page StringTouch Point Variant - Variant for the error page (
OKTA_DEFAULT,BACKGROUND_SECONDARY_COLOR,BACKGROUND_IMAGE) - favicon
Url String - Favicon URL
- id String
- The ID of the theme
- links String
- Link relations for this object - JSON HAL - Discoverable resources related to the email template
- logo
Url String - Logo URL
- primary
Color StringContrast Hex - Primary color contrast hex code
- primary
Color StringHex - Primary color hex code
- secondary
Color StringContrast Hex - Secondary color contrast hex code
- secondary
Color StringHex - Secondary color hex code
- sign
In StringPage Touch Point Variant - Variant for the Okta Sign-In Page (
OKTA_DEFAULT,BACKGROUND_SECONDARY_COLOR,BACKGROUND_IMAGE)
- background
Image stringUrl - Background image URL
- email
Template stringTouch Point Variant - Variant for email templates (
OKTA_DEFAULT,FULL_THEME) - end
User stringDashboard Touch Point Variant - Variant for the Okta End-User Dashboard (
OKTA_DEFAULT,WHITE_LOGO_BACKGROUND,FULL_THEME,LOGO_ON_FULL_WHITE_BACKGROUND) - error
Page stringTouch Point Variant - Variant for the error page (
OKTA_DEFAULT,BACKGROUND_SECONDARY_COLOR,BACKGROUND_IMAGE) - favicon
Url string - Favicon URL
- id string
- The ID of the theme
- links string
- Link relations for this object - JSON HAL - Discoverable resources related to the email template
- logo
Url string - Logo URL
- primary
Color stringContrast Hex - Primary color contrast hex code
- primary
Color stringHex - Primary color hex code
- secondary
Color stringContrast Hex - Secondary color contrast hex code
- secondary
Color stringHex - Secondary color hex code
- sign
In stringPage Touch Point Variant - Variant for the Okta Sign-In Page (
OKTA_DEFAULT,BACKGROUND_SECONDARY_COLOR,BACKGROUND_IMAGE)
- background_
image_ strurl - Background image URL
- email_
template_ strtouch_ point_ variant - Variant for email templates (
OKTA_DEFAULT,FULL_THEME) - end_
user_ strdashboard_ touch_ point_ variant - Variant for the Okta End-User Dashboard (
OKTA_DEFAULT,WHITE_LOGO_BACKGROUND,FULL_THEME,LOGO_ON_FULL_WHITE_BACKGROUND) - error_
page_ strtouch_ point_ variant - Variant for the error page (
OKTA_DEFAULT,BACKGROUND_SECONDARY_COLOR,BACKGROUND_IMAGE) - favicon_
url str - Favicon URL
- id str
- The ID of the theme
- links str
- Link relations for this object - JSON HAL - Discoverable resources related to the email template
- logo_
url str - Logo URL
- primary_
color_ strcontrast_ hex - Primary color contrast hex code
- primary_
color_ strhex - Primary color hex code
- secondary_
color_ strcontrast_ hex - Secondary color contrast hex code
- secondary_
color_ strhex - Secondary color hex code
- sign_
in_ strpage_ touch_ point_ variant - Variant for the Okta Sign-In Page (
OKTA_DEFAULT,BACKGROUND_SECONDARY_COLOR,BACKGROUND_IMAGE)
- background
Image StringUrl - Background image URL
- email
Template StringTouch Point Variant - Variant for email templates (
OKTA_DEFAULT,FULL_THEME) - end
User StringDashboard Touch Point Variant - Variant for the Okta End-User Dashboard (
OKTA_DEFAULT,WHITE_LOGO_BACKGROUND,FULL_THEME,LOGO_ON_FULL_WHITE_BACKGROUND) - error
Page StringTouch Point Variant - Variant for the error page (
OKTA_DEFAULT,BACKGROUND_SECONDARY_COLOR,BACKGROUND_IMAGE) - favicon
Url String - Favicon URL
- id String
- The ID of the theme
- links String
- Link relations for this object - JSON HAL - Discoverable resources related to the email template
- logo
Url String - Logo URL
- primary
Color StringContrast Hex - Primary color contrast hex code
- primary
Color StringHex - Primary color hex code
- secondary
Color StringContrast Hex - Secondary color contrast hex code
- secondary
Color StringHex - Secondary color hex code
- sign
In StringPage Touch Point Variant - Variant for the Okta Sign-In Page (
OKTA_DEFAULT,BACKGROUND_SECONDARY_COLOR,BACKGROUND_IMAGE)
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.
Viewing docs for Okta v6.3.1
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
