Okta

Pulumi Official
Package maintained by Pulumi
v3.12.0 published on Wednesday, Jun 29, 2022 by Pulumi

getBrands

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

Example Usage

using Pulumi;
using Okta = Pulumi.Okta;

class MyStack : Stack
{
    public MyStack()
    {
        var test = Output.Create(Okta.GetBrands.InvokeAsync());
    }

}
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 java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var test = Output.of(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 = pulumi.output(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
https://github.com/pulumi/pulumi-okta
License
Apache-2.0
Notes

This Pulumi package is based on the okta Terraform Provider.