1. Packages
  2. Okta
  3. API Docs
  4. getBrands
Okta v4.4.0 published on Monday, Sep 18, 2023 by Pulumi

okta.getBrands

Explore with Pulumi AI

okta logo
Okta v4.4.0 published on Monday, Sep 18, 2023 by Pulumi

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

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Okta = Pulumi.Okta;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Okta.GetBrands.Invoke();
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-okta/sdk/v4/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

    customPrivacyPolicyUrl String
    id String
    links String
    name String
    removePoweredByOkta Boolean
    customPrivacyPolicyUrl string
    id string
    links string
    name string
    removePoweredByOkta boolean
    customPrivacyPolicyUrl String
    id String
    links String
    name String
    removePoweredByOkta Boolean

    Package Details

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

    This Pulumi package is based on the okta Terraform Provider.

    okta logo
    Okta v4.4.0 published on Monday, Sep 18, 2023 by Pulumi