1. Packages
  2. Okta Provider
  3. API Docs
  4. getFeatures
Okta v5.0.0 published on Friday, Jul 25, 2025 by Pulumi

okta.getFeatures

Explore with Pulumi AI

okta logo
Okta v5.0.0 published on Friday, Jul 25, 2025 by Pulumi

    Get a list of features from Okta.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as okta from "@pulumi/okta";
    
    const example = okta.getFeatures({
        label: "Android Device Trust",
    });
    
    import pulumi
    import pulumi_okta as okta
    
    example = okta.get_features(label="Android Device Trust")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-okta/sdk/v5/go/okta"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := okta.GetFeatures(ctx, &okta.GetFeaturesArgs{
    			Label: pulumi.StringRef("Android Device Trust"),
    		}, 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 example = Okta.GetFeatures.Invoke(new()
        {
            Label = "Android Device Trust",
        });
    
    });
    
    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.GetFeaturesArgs;
    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 example = OktaFunctions.getFeatures(GetFeaturesArgs.builder()
                .label("Android Device Trust")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: okta:getFeatures
          arguments:
            label: Android Device Trust
    

    Using getFeatures

    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 getFeatures(args: GetFeaturesArgs, opts?: InvokeOptions): Promise<GetFeaturesResult>
    function getFeaturesOutput(args: GetFeaturesOutputArgs, opts?: InvokeOptions): Output<GetFeaturesResult>
    def get_features(label: Optional[str] = None,
                     substring: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetFeaturesResult
    def get_features_output(label: Optional[pulumi.Input[str]] = None,
                     substring: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetFeaturesResult]
    func GetFeatures(ctx *Context, args *GetFeaturesArgs, opts ...InvokeOption) (*GetFeaturesResult, error)
    func GetFeaturesOutput(ctx *Context, args *GetFeaturesOutputArgs, opts ...InvokeOption) GetFeaturesResultOutput

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

    public static class GetFeatures 
    {
        public static Task<GetFeaturesResult> InvokeAsync(GetFeaturesArgs args, InvokeOptions? opts = null)
        public static Output<GetFeaturesResult> Invoke(GetFeaturesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFeaturesResult> getFeatures(GetFeaturesArgs args, InvokeOptions options)
    public static Output<GetFeaturesResult> getFeatures(GetFeaturesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: okta:index/getFeatures:getFeatures
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Label string
    Searches for features whose label or name property matches this value exactly. Case sensitive
    Substring string
    Searches for features whose label or name property substring match this value. Case sensitive
    Label string
    Searches for features whose label or name property matches this value exactly. Case sensitive
    Substring string
    Searches for features whose label or name property substring match this value. Case sensitive
    label String
    Searches for features whose label or name property matches this value exactly. Case sensitive
    substring String
    Searches for features whose label or name property substring match this value. Case sensitive
    label string
    Searches for features whose label or name property matches this value exactly. Case sensitive
    substring string
    Searches for features whose label or name property substring match this value. Case sensitive
    label str
    Searches for features whose label or name property matches this value exactly. Case sensitive
    substring str
    Searches for features whose label or name property substring match this value. Case sensitive
    label String
    Searches for features whose label or name property matches this value exactly. Case sensitive
    substring String
    Searches for features whose label or name property substring match this value. Case sensitive

    getFeatures Result

    The following output properties are available:

    Features List<GetFeaturesFeature>
    List of okta.Feature belonging to the organization
    Id string
    Generated ID
    Label string
    Searches for features whose label or name property matches this value exactly. Case sensitive
    Substring string
    Searches for features whose label or name property substring match this value. Case sensitive
    Features []GetFeaturesFeature
    List of okta.Feature belonging to the organization
    Id string
    Generated ID
    Label string
    Searches for features whose label or name property matches this value exactly. Case sensitive
    Substring string
    Searches for features whose label or name property substring match this value. Case sensitive
    features List<GetFeaturesFeature>
    List of okta.Feature belonging to the organization
    id String
    Generated ID
    label String
    Searches for features whose label or name property matches this value exactly. Case sensitive
    substring String
    Searches for features whose label or name property substring match this value. Case sensitive
    features GetFeaturesFeature[]
    List of okta.Feature belonging to the organization
    id string
    Generated ID
    label string
    Searches for features whose label or name property matches this value exactly. Case sensitive
    substring string
    Searches for features whose label or name property substring match this value. Case sensitive
    features Sequence[GetFeaturesFeature]
    List of okta.Feature belonging to the organization
    id str
    Generated ID
    label str
    Searches for features whose label or name property matches this value exactly. Case sensitive
    substring str
    Searches for features whose label or name property substring match this value. Case sensitive
    features List<Property Map>
    List of okta.Feature belonging to the organization
    id String
    Generated ID
    label String
    Searches for features whose label or name property matches this value exactly. Case sensitive
    substring String
    Searches for features whose label or name property substring match this value. Case sensitive

    Supporting Types

    GetFeaturesFeature

    description String
    id String
    name String
    stage Property Map
    status String
    type String

    GetFeaturesFeatureStage

    State string
    Value string
    State string
    Value string
    state String
    value String
    state string
    value string
    state str
    value str
    state String
    value String

    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 v5.0.0 published on Friday, Jul 25, 2025 by Pulumi