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

okta.Feature

Explore with Pulumi AI

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

    Manages brand. This resource allows you to toggle an Okta Feature.

    Create Feature Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Feature(name: string, args: FeatureArgs, opts?: CustomResourceOptions);
    @overload
    def Feature(resource_name: str,
                args: FeatureArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Feature(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                feature_id: Optional[str] = None,
                life_cycle: Optional[str] = None,
                mode: Optional[bool] = None)
    func NewFeature(ctx *Context, name string, args FeatureArgs, opts ...ResourceOption) (*Feature, error)
    public Feature(string name, FeatureArgs args, CustomResourceOptions? opts = null)
    public Feature(String name, FeatureArgs args)
    public Feature(String name, FeatureArgs args, CustomResourceOptions options)
    
    type: okta:Feature
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FeatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FeatureArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FeatureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FeatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FeatureArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var featureResource = new Okta.Feature("featureResource", new()
    {
        FeatureId = "string",
        LifeCycle = "string",
        Mode = false,
    });
    
    example, err := okta.NewFeature(ctx, "featureResource", &okta.FeatureArgs{
    	FeatureId: pulumi.String("string"),
    	LifeCycle: pulumi.String("string"),
    	Mode:      pulumi.Bool(false),
    })
    
    var featureResource = new Feature("featureResource", FeatureArgs.builder()
        .featureId("string")
        .lifeCycle("string")
        .mode(false)
        .build());
    
    feature_resource = okta.Feature("featureResource",
        feature_id="string",
        life_cycle="string",
        mode=False)
    
    const featureResource = new okta.Feature("featureResource", {
        featureId: "string",
        lifeCycle: "string",
        mode: false,
    });
    
    type: okta:Feature
    properties:
        featureId: string
        lifeCycle: string
        mode: false
    

    Feature Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Feature resource accepts the following input properties:

    FeatureId string
    Okta API for feature only reads and updates therefore the oktafeature resource needs to act as a quasi data source. Do this by setting featureid
    LifeCycle string
    Whether to ENABLE or DISABLE the feature
    Mode bool
    Indicates if you want to force enable or disable a feature. Value is true meaning force
    FeatureId string
    Okta API for feature only reads and updates therefore the oktafeature resource needs to act as a quasi data source. Do this by setting featureid
    LifeCycle string
    Whether to ENABLE or DISABLE the feature
    Mode bool
    Indicates if you want to force enable or disable a feature. Value is true meaning force
    featureId String
    Okta API for feature only reads and updates therefore the oktafeature resource needs to act as a quasi data source. Do this by setting featureid
    lifeCycle String
    Whether to ENABLE or DISABLE the feature
    mode Boolean
    Indicates if you want to force enable or disable a feature. Value is true meaning force
    featureId string
    Okta API for feature only reads and updates therefore the oktafeature resource needs to act as a quasi data source. Do this by setting featureid
    lifeCycle string
    Whether to ENABLE or DISABLE the feature
    mode boolean
    Indicates if you want to force enable or disable a feature. Value is true meaning force
    feature_id str
    Okta API for feature only reads and updates therefore the oktafeature resource needs to act as a quasi data source. Do this by setting featureid
    life_cycle str
    Whether to ENABLE or DISABLE the feature
    mode bool
    Indicates if you want to force enable or disable a feature. Value is true meaning force
    featureId String
    Okta API for feature only reads and updates therefore the oktafeature resource needs to act as a quasi data source. Do this by setting featureid
    lifeCycle String
    Whether to ENABLE or DISABLE the feature
    mode Boolean
    Indicates if you want to force enable or disable a feature. Value is true meaning force

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Feature resource produces the following output properties:

    Description string
    Name of the feature.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the feature.
    Stage FeatureStage
    Current release cycle stage of a feature.
    Status string
    The feature status.
    Type string
    Type of feature.
    Description string
    Name of the feature.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the feature.
    Stage FeatureStage
    Current release cycle stage of a feature.
    Status string
    The feature status.
    Type string
    Type of feature.
    description String
    Name of the feature.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the feature.
    stage FeatureStage
    Current release cycle stage of a feature.
    status String
    The feature status.
    type String
    Type of feature.
    description string
    Name of the feature.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of the feature.
    stage FeatureStage
    Current release cycle stage of a feature.
    status string
    The feature status.
    type string
    Type of feature.
    description str
    Name of the feature.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name of the feature.
    stage FeatureStage
    Current release cycle stage of a feature.
    status str
    The feature status.
    type str
    Type of feature.
    description String
    Name of the feature.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the feature.
    stage Property Map
    Current release cycle stage of a feature.
    status String
    The feature status.
    type String
    Type of feature.

    Look up Existing Feature Resource

    Get an existing Feature resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FeatureState, opts?: CustomResourceOptions): Feature
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            feature_id: Optional[str] = None,
            life_cycle: Optional[str] = None,
            mode: Optional[bool] = None,
            name: Optional[str] = None,
            stage: Optional[FeatureStageArgs] = None,
            status: Optional[str] = None,
            type: Optional[str] = None) -> Feature
    func GetFeature(ctx *Context, name string, id IDInput, state *FeatureState, opts ...ResourceOption) (*Feature, error)
    public static Feature Get(string name, Input<string> id, FeatureState? state, CustomResourceOptions? opts = null)
    public static Feature get(String name, Output<String> id, FeatureState state, CustomResourceOptions options)
    resources:  _:    type: okta:Feature    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    Name of the feature.
    FeatureId string
    Okta API for feature only reads and updates therefore the oktafeature resource needs to act as a quasi data source. Do this by setting featureid
    LifeCycle string
    Whether to ENABLE or DISABLE the feature
    Mode bool
    Indicates if you want to force enable or disable a feature. Value is true meaning force
    Name string
    Name of the feature.
    Stage FeatureStage
    Current release cycle stage of a feature.
    Status string
    The feature status.
    Type string
    Type of feature.
    Description string
    Name of the feature.
    FeatureId string
    Okta API for feature only reads and updates therefore the oktafeature resource needs to act as a quasi data source. Do this by setting featureid
    LifeCycle string
    Whether to ENABLE or DISABLE the feature
    Mode bool
    Indicates if you want to force enable or disable a feature. Value is true meaning force
    Name string
    Name of the feature.
    Stage FeatureStageArgs
    Current release cycle stage of a feature.
    Status string
    The feature status.
    Type string
    Type of feature.
    description String
    Name of the feature.
    featureId String
    Okta API for feature only reads and updates therefore the oktafeature resource needs to act as a quasi data source. Do this by setting featureid
    lifeCycle String
    Whether to ENABLE or DISABLE the feature
    mode Boolean
    Indicates if you want to force enable or disable a feature. Value is true meaning force
    name String
    Name of the feature.
    stage FeatureStage
    Current release cycle stage of a feature.
    status String
    The feature status.
    type String
    Type of feature.
    description string
    Name of the feature.
    featureId string
    Okta API for feature only reads and updates therefore the oktafeature resource needs to act as a quasi data source. Do this by setting featureid
    lifeCycle string
    Whether to ENABLE or DISABLE the feature
    mode boolean
    Indicates if you want to force enable or disable a feature. Value is true meaning force
    name string
    Name of the feature.
    stage FeatureStage
    Current release cycle stage of a feature.
    status string
    The feature status.
    type string
    Type of feature.
    description str
    Name of the feature.
    feature_id str
    Okta API for feature only reads and updates therefore the oktafeature resource needs to act as a quasi data source. Do this by setting featureid
    life_cycle str
    Whether to ENABLE or DISABLE the feature
    mode bool
    Indicates if you want to force enable or disable a feature. Value is true meaning force
    name str
    Name of the feature.
    stage FeatureStageArgs
    Current release cycle stage of a feature.
    status str
    The feature status.
    type str
    Type of feature.
    description String
    Name of the feature.
    featureId String
    Okta API for feature only reads and updates therefore the oktafeature resource needs to act as a quasi data source. Do this by setting featureid
    lifeCycle String
    Whether to ENABLE or DISABLE the feature
    mode Boolean
    Indicates if you want to force enable or disable a feature. Value is true meaning force
    name String
    Name of the feature.
    stage Property Map
    Current release cycle stage of a feature.
    status String
    The feature status.
    type String
    Type of feature.

    Supporting Types

    FeatureStage, FeatureStageArgs

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

    Import

    $ pulumi import okta:index/feature:Feature example <id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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