okta logo
Okta v3.22.0, Mar 31 23

okta.getBrands

Use this data source to retrieve the brands belonging to an Okta organization.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Okta = Pulumi.Okta;

return await Deployment.RunAsync(() => 
{
    var test = Okta.GetBrands.Invoke();

});
package main

import (
	"github.com/pulumi/pulumi-okta/sdk/v3/go/okta"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.GetBrands(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.OktaFunctions;
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();

    }
}
import pulumi
import pulumi_okta as okta

test = okta.get_brands()
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";

const test = okta.getBrands({});
variables:
  test:
    fn::invoke:
      Function: okta:getBrands
      Arguments: {}

Using getBrands

function getBrands(opts?: InvokeOptions): Promise<GetBrandsResult>
def get_brands(opts: Optional[InvokeOptions] = None) -> GetBrandsResult
func GetBrands(ctx *Context, opts ...InvokeOption) (*GetBrandsResult, error)

> Note: This function is named GetBrands in the Go SDK.

public static class GetBrands 
{
    public static Task<GetBrandsResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetBrandsResult> getBrands(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: okta:index/getBrands:getBrands
  arguments:
    # arguments dictionary

getBrands Result

The following output properties are available:

Brands List<GetBrandsBrand>

List of okta.Brand belonging to the organization

Id string

The provider-assigned unique ID for this managed resource.

Brands []GetBrandsBrand

List of okta.Brand belonging to the organization

Id string

The provider-assigned unique ID for this managed resource.

brands List<GetBrandsBrand>

List of okta.Brand belonging to the organization

id String

The provider-assigned unique ID for this managed resource.

brands GetBrandsBrand[]

List of okta.Brand belonging to the organization

id string

The provider-assigned unique ID for this managed resource.

brands Sequence[GetBrandsBrand]

List of okta.Brand belonging to the organization

id str

The provider-assigned unique ID for this managed resource.

brands List<Property Map>

List of okta.Brand belonging to the organization

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

GetBrandsBrand

Package Details

Repository
Okta pulumi/pulumi-okta
License
Apache-2.0
Notes

This Pulumi package is based on the okta Terraform Provider.