1. Packages
  2. Okta Provider
  3. API Docs
  4. getEntitlementBundle
Okta v6.0.0 published on Friday, Oct 10, 2025 by Pulumi

okta.getEntitlementBundle

Deploy with Pulumi
okta logo
Okta v6.0.0 published on Friday, Oct 10, 2025 by Pulumi

    Get the entitlement bundle for the given id.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as okta from "@pulumi/okta";
    
    const test = okta.getEntitlementBundle({
        id: "<entitlement_bundle id>",
    });
    
    import pulumi
    import pulumi_okta as okta
    
    test = okta.get_entitlement_bundle(id="<entitlement_bundle 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 {
    		_, err := okta.LookupEntitlementBundle(ctx, &okta.LookupEntitlementBundleArgs{
    			Id: "<entitlement_bundle 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.GetEntitlementBundle.Invoke(new()
        {
            Id = "<entitlement_bundle 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.GetEntitlementBundleArgs;
    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.getEntitlementBundle(GetEntitlementBundleArgs.builder()
                .id("<entitlement_bundle id>")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: okta:getEntitlementBundle
          arguments:
            id: <entitlement_bundle id>
    

    Using getEntitlementBundle

    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 getEntitlementBundle(args: GetEntitlementBundleArgs, opts?: InvokeOptions): Promise<GetEntitlementBundleResult>
    function getEntitlementBundleOutput(args: GetEntitlementBundleOutputArgs, opts?: InvokeOptions): Output<GetEntitlementBundleResult>
    def get_entitlement_bundle(entitlements: Optional[Sequence[GetEntitlementBundleEntitlement]] = None,
                               id: Optional[str] = None,
                               target: Optional[GetEntitlementBundleTarget] = None,
                               opts: Optional[InvokeOptions] = None) -> GetEntitlementBundleResult
    def get_entitlement_bundle_output(entitlements: Optional[pulumi.Input[Sequence[pulumi.Input[GetEntitlementBundleEntitlementArgs]]]] = None,
                               id: Optional[pulumi.Input[str]] = None,
                               target: Optional[pulumi.Input[GetEntitlementBundleTargetArgs]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetEntitlementBundleResult]
    func LookupEntitlementBundle(ctx *Context, args *LookupEntitlementBundleArgs, opts ...InvokeOption) (*LookupEntitlementBundleResult, error)
    func LookupEntitlementBundleOutput(ctx *Context, args *LookupEntitlementBundleOutputArgs, opts ...InvokeOption) LookupEntitlementBundleResultOutput

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

    public static class GetEntitlementBundle 
    {
        public static Task<GetEntitlementBundleResult> InvokeAsync(GetEntitlementBundleArgs args, InvokeOptions? opts = null)
        public static Output<GetEntitlementBundleResult> Invoke(GetEntitlementBundleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEntitlementBundleResult> getEntitlementBundle(GetEntitlementBundleArgs args, InvokeOptions options)
    public static Output<GetEntitlementBundleResult> getEntitlementBundle(GetEntitlementBundleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: okta:index/getEntitlementBundle:getEntitlementBundle
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of this resource.
    Entitlements List<GetEntitlementBundleEntitlement>
    List of entitlements in the bundle
    Target GetEntitlementBundleTarget
    Representation of a resource
    Id string
    The ID of this resource.
    Entitlements []GetEntitlementBundleEntitlement
    List of entitlements in the bundle
    Target GetEntitlementBundleTarget
    Representation of a resource
    id String
    The ID of this resource.
    entitlements List<GetEntitlementBundleEntitlement>
    List of entitlements in the bundle
    target GetEntitlementBundleTarget
    Representation of a resource
    id string
    The ID of this resource.
    entitlements GetEntitlementBundleEntitlement[]
    List of entitlements in the bundle
    target GetEntitlementBundleTarget
    Representation of a resource
    id str
    The ID of this resource.
    entitlements Sequence[GetEntitlementBundleEntitlement]
    List of entitlements in the bundle
    target GetEntitlementBundleTarget
    Representation of a resource
    id String
    The ID of this resource.
    entitlements List<Property Map>
    List of entitlements in the bundle
    target Property Map
    Representation of a resource

    getEntitlementBundle Result

    The following output properties are available:

    Created string
    The created timestamp of this resource.
    CreatedBy string
    The ID of the user that created this resource.
    Description string
    The description of an entitlement property.
    Id string
    The ID of this resource.
    LastUpdated string
    The last updated timestamp of this resource.
    LastUpdatedBy string
    The ID of the user that last updated this resource.
    Name string
    The display name for an entitlement bundle.
    Status string
    The status of the entitlement bundle.
    TargetResourceOrn string
    The ORN of the target resource. Required when updating the entitlement bundle.
    Entitlements List<GetEntitlementBundleEntitlement>
    List of entitlements in the bundle
    Target GetEntitlementBundleTarget
    Representation of a resource
    Created string
    The created timestamp of this resource.
    CreatedBy string
    The ID of the user that created this resource.
    Description string
    The description of an entitlement property.
    Id string
    The ID of this resource.
    LastUpdated string
    The last updated timestamp of this resource.
    LastUpdatedBy string
    The ID of the user that last updated this resource.
    Name string
    The display name for an entitlement bundle.
    Status string
    The status of the entitlement bundle.
    TargetResourceOrn string
    The ORN of the target resource. Required when updating the entitlement bundle.
    Entitlements []GetEntitlementBundleEntitlement
    List of entitlements in the bundle
    Target GetEntitlementBundleTarget
    Representation of a resource
    created String
    The created timestamp of this resource.
    createdBy String
    The ID of the user that created this resource.
    description String
    The description of an entitlement property.
    id String
    The ID of this resource.
    lastUpdated String
    The last updated timestamp of this resource.
    lastUpdatedBy String
    The ID of the user that last updated this resource.
    name String
    The display name for an entitlement bundle.
    status String
    The status of the entitlement bundle.
    targetResourceOrn String
    The ORN of the target resource. Required when updating the entitlement bundle.
    entitlements List<GetEntitlementBundleEntitlement>
    List of entitlements in the bundle
    target GetEntitlementBundleTarget
    Representation of a resource
    created string
    The created timestamp of this resource.
    createdBy string
    The ID of the user that created this resource.
    description string
    The description of an entitlement property.
    id string
    The ID of this resource.
    lastUpdated string
    The last updated timestamp of this resource.
    lastUpdatedBy string
    The ID of the user that last updated this resource.
    name string
    The display name for an entitlement bundle.
    status string
    The status of the entitlement bundle.
    targetResourceOrn string
    The ORN of the target resource. Required when updating the entitlement bundle.
    entitlements GetEntitlementBundleEntitlement[]
    List of entitlements in the bundle
    target GetEntitlementBundleTarget
    Representation of a resource
    created str
    The created timestamp of this resource.
    created_by str
    The ID of the user that created this resource.
    description str
    The description of an entitlement property.
    id str
    The ID of this resource.
    last_updated str
    The last updated timestamp of this resource.
    last_updated_by str
    The ID of the user that last updated this resource.
    name str
    The display name for an entitlement bundle.
    status str
    The status of the entitlement bundle.
    target_resource_orn str
    The ORN of the target resource. Required when updating the entitlement bundle.
    entitlements Sequence[GetEntitlementBundleEntitlement]
    List of entitlements in the bundle
    target GetEntitlementBundleTarget
    Representation of a resource
    created String
    The created timestamp of this resource.
    createdBy String
    The ID of the user that created this resource.
    description String
    The description of an entitlement property.
    id String
    The ID of this resource.
    lastUpdated String
    The last updated timestamp of this resource.
    lastUpdatedBy String
    The ID of the user that last updated this resource.
    name String
    The display name for an entitlement bundle.
    status String
    The status of the entitlement bundle.
    targetResourceOrn String
    The ORN of the target resource. Required when updating the entitlement bundle.
    entitlements List<Property Map>
    List of entitlements in the bundle
    target Property Map
    Representation of a resource

    Supporting Types

    GetEntitlementBundleEntitlement

    DataType string
    The data type of the entitlement property.
    Description string
    The description of an entitlement property.
    ExternalValue string
    The value of an entitlement property.
    Id string
    The ID of this resource.
    MultiValue bool
    The property that determines if the entitlement property can hold multiple values.
    Name string
    The display name for an entitlement bundle.
    Required bool
    The property that determines if the entitlement property is a required attribute.
    Values List<GetEntitlementBundleEntitlementValue>
    DataType string
    The data type of the entitlement property.
    Description string
    The description of an entitlement property.
    ExternalValue string
    The value of an entitlement property.
    Id string
    The ID of this resource.
    MultiValue bool
    The property that determines if the entitlement property can hold multiple values.
    Name string
    The display name for an entitlement bundle.
    Required bool
    The property that determines if the entitlement property is a required attribute.
    Values []GetEntitlementBundleEntitlementValue
    dataType String
    The data type of the entitlement property.
    description String
    The description of an entitlement property.
    externalValue String
    The value of an entitlement property.
    id String
    The ID of this resource.
    multiValue Boolean
    The property that determines if the entitlement property can hold multiple values.
    name String
    The display name for an entitlement bundle.
    required Boolean
    The property that determines if the entitlement property is a required attribute.
    values List<GetEntitlementBundleEntitlementValue>
    dataType string
    The data type of the entitlement property.
    description string
    The description of an entitlement property.
    externalValue string
    The value of an entitlement property.
    id string
    The ID of this resource.
    multiValue boolean
    The property that determines if the entitlement property can hold multiple values.
    name string
    The display name for an entitlement bundle.
    required boolean
    The property that determines if the entitlement property is a required attribute.
    values GetEntitlementBundleEntitlementValue[]
    data_type str
    The data type of the entitlement property.
    description str
    The description of an entitlement property.
    external_value str
    The value of an entitlement property.
    id str
    The ID of this resource.
    multi_value bool
    The property that determines if the entitlement property can hold multiple values.
    name str
    The display name for an entitlement bundle.
    required bool
    The property that determines if the entitlement property is a required attribute.
    values Sequence[GetEntitlementBundleEntitlementValue]
    dataType String
    The data type of the entitlement property.
    description String
    The description of an entitlement property.
    externalValue String
    The value of an entitlement property.
    id String
    The ID of this resource.
    multiValue Boolean
    The property that determines if the entitlement property can hold multiple values.
    name String
    The display name for an entitlement bundle.
    required Boolean
    The property that determines if the entitlement property is a required attribute.
    values List<Property Map>

    GetEntitlementBundleEntitlementValue

    Description string
    The description of an entitlement property.
    ExternalId string
    The read-only id of an entitlement property value in the downstream application.
    ExternalValue string
    The value of an entitlement property value.
    Id string
    The ID of this resource.
    Name string
    The display name for an entitlement bundle.
    Description string
    The description of an entitlement property.
    ExternalId string
    The read-only id of an entitlement property value in the downstream application.
    ExternalValue string
    The value of an entitlement property value.
    Id string
    The ID of this resource.
    Name string
    The display name for an entitlement bundle.
    description String
    The description of an entitlement property.
    externalId String
    The read-only id of an entitlement property value in the downstream application.
    externalValue String
    The value of an entitlement property value.
    id String
    The ID of this resource.
    name String
    The display name for an entitlement bundle.
    description string
    The description of an entitlement property.
    externalId string
    The read-only id of an entitlement property value in the downstream application.
    externalValue string
    The value of an entitlement property value.
    id string
    The ID of this resource.
    name string
    The display name for an entitlement bundle.
    description str
    The description of an entitlement property.
    external_id str
    The read-only id of an entitlement property value in the downstream application.
    external_value str
    The value of an entitlement property value.
    id str
    The ID of this resource.
    name str
    The display name for an entitlement bundle.
    description String
    The description of an entitlement property.
    externalId String
    The read-only id of an entitlement property value in the downstream application.
    externalValue String
    The value of an entitlement property value.
    id String
    The ID of this resource.
    name String
    The display name for an entitlement bundle.

    GetEntitlementBundleTarget

    ExternalId string
    The Okta app.id of the resource.
    Type string
    The type of the resource.
    ExternalId string
    The Okta app.id of the resource.
    Type string
    The type of the resource.
    externalId String
    The Okta app.id of the resource.
    type String
    The type of the resource.
    externalId string
    The Okta app.id of the resource.
    type string
    The type of the resource.
    external_id str
    The Okta app.id of the resource.
    type str
    The type of the resource.
    externalId String
    The Okta app.id of the resource.
    type String
    The type of the resource.

    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 v6.0.0 published on Friday, Oct 10, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate