okta logo
Okta v3.21.0, Mar 15 23

okta.app.UserBaseSchema

DEPRECATED use okta.AppUserBaseSchemaProperty instead.

This resource allows you to configure a base app user schema property.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Okta = Pulumi.Okta;

return await Deployment.RunAsync(() => 
{
    var example = new Okta.App.UserBaseSchema("example", new()
    {
        AppId = "<app id>",
        Index = "customPropertyName",
        Master = "OKTA",
        Title = "customPropertyName",
        Type = "string",
    });

});
package main

import (
	"github.com/pulumi/pulumi-okta/sdk/v3/go/okta/app"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := app.NewUserBaseSchema(ctx, "example", &app.UserBaseSchemaArgs{
			AppId:  pulumi.String("<app id>"),
			Index:  pulumi.String("customPropertyName"),
			Master: pulumi.String("OKTA"),
			Title:  pulumi.String("customPropertyName"),
			Type:   pulumi.String("string"),
		})
		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.app.UserBaseSchema;
import com.pulumi.okta.app.UserBaseSchemaArgs;
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) {
        var example = new UserBaseSchema("example", UserBaseSchemaArgs.builder()        
            .appId("<app id>")
            .index("customPropertyName")
            .master("OKTA")
            .title("customPropertyName")
            .type("string")
            .build());

    }
}
import pulumi
import pulumi_okta as okta

example = okta.app.UserBaseSchema("example",
    app_id="<app id>",
    index="customPropertyName",
    master="OKTA",
    title="customPropertyName",
    type="string")
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";

const example = new okta.app.UserBaseSchema("example", {
    appId: "<app id>",
    index: "customPropertyName",
    master: "OKTA",
    title: "customPropertyName",
    type: "string",
});
resources:
  example:
    type: okta:app:UserBaseSchema
    properties:
      appId: <app id>
      index: customPropertyName
      master: OKTA
      title: customPropertyName
      type: string

Create UserBaseSchema Resource

new UserBaseSchema(name: string, args: UserBaseSchemaArgs, opts?: CustomResourceOptions);
@overload
def UserBaseSchema(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   app_id: Optional[str] = None,
                   index: Optional[str] = None,
                   master: Optional[str] = None,
                   pattern: Optional[str] = None,
                   permissions: Optional[str] = None,
                   required: Optional[bool] = None,
                   title: Optional[str] = None,
                   type: Optional[str] = None,
                   user_type: Optional[str] = None)
@overload
def UserBaseSchema(resource_name: str,
                   args: UserBaseSchemaArgs,
                   opts: Optional[ResourceOptions] = None)
func NewUserBaseSchema(ctx *Context, name string, args UserBaseSchemaArgs, opts ...ResourceOption) (*UserBaseSchema, error)
public UserBaseSchema(string name, UserBaseSchemaArgs args, CustomResourceOptions? opts = null)
public UserBaseSchema(String name, UserBaseSchemaArgs args)
public UserBaseSchema(String name, UserBaseSchemaArgs args, CustomResourceOptions options)
type: okta:app:UserBaseSchema
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args UserBaseSchemaArgs
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 UserBaseSchemaArgs
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 UserBaseSchemaArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args UserBaseSchemaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args UserBaseSchemaArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

UserBaseSchema Resource Properties

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

Inputs

The UserBaseSchema resource accepts the following input properties:

AppId string

The Application's ID the user schema property should be assigned to.

Index string

The property name.

Title string

The property display name.

Type string

The type of the schema property. It can be "string", "boolean", "number", "integer", "array", or "object".

Master string

Master priority for the user schema property. It can be set to "PROFILE_MASTER" or "OKTA".

Pattern string

The validation pattern to use for the subschema, only available for login property. Must be in form of .+, or [<pattern>]+.

Permissions string

Access control permissions for the property. It can be set to "READ_WRITE", "READ_ONLY", "HIDE".

Required bool

Whether the property is required for this application's users.

UserType string

Custom subschema user type

AppId string

The Application's ID the user schema property should be assigned to.

Index string

The property name.

Title string

The property display name.

Type string

The type of the schema property. It can be "string", "boolean", "number", "integer", "array", or "object".

Master string

Master priority for the user schema property. It can be set to "PROFILE_MASTER" or "OKTA".

Pattern string

The validation pattern to use for the subschema, only available for login property. Must be in form of .+, or [<pattern>]+.

Permissions string

Access control permissions for the property. It can be set to "READ_WRITE", "READ_ONLY", "HIDE".

Required bool

Whether the property is required for this application's users.

UserType string

Custom subschema user type

appId String

The Application's ID the user schema property should be assigned to.

index String

The property name.

title String

The property display name.

type String

The type of the schema property. It can be "string", "boolean", "number", "integer", "array", or "object".

master String

Master priority for the user schema property. It can be set to "PROFILE_MASTER" or "OKTA".

pattern String

The validation pattern to use for the subschema, only available for login property. Must be in form of .+, or [<pattern>]+.

permissions String

Access control permissions for the property. It can be set to "READ_WRITE", "READ_ONLY", "HIDE".

required Boolean

Whether the property is required for this application's users.

userType String

Custom subschema user type

appId string

The Application's ID the user schema property should be assigned to.

index string

The property name.

title string

The property display name.

type string

The type of the schema property. It can be "string", "boolean", "number", "integer", "array", or "object".

master string

Master priority for the user schema property. It can be set to "PROFILE_MASTER" or "OKTA".

pattern string

The validation pattern to use for the subschema, only available for login property. Must be in form of .+, or [<pattern>]+.

permissions string

Access control permissions for the property. It can be set to "READ_WRITE", "READ_ONLY", "HIDE".

required boolean

Whether the property is required for this application's users.

userType string

Custom subschema user type

app_id str

The Application's ID the user schema property should be assigned to.

index str

The property name.

title str

The property display name.

type str

The type of the schema property. It can be "string", "boolean", "number", "integer", "array", or "object".

master str

Master priority for the user schema property. It can be set to "PROFILE_MASTER" or "OKTA".

pattern str

The validation pattern to use for the subschema, only available for login property. Must be in form of .+, or [<pattern>]+.

permissions str

Access control permissions for the property. It can be set to "READ_WRITE", "READ_ONLY", "HIDE".

required bool

Whether the property is required for this application's users.

user_type str

Custom subschema user type

appId String

The Application's ID the user schema property should be assigned to.

index String

The property name.

title String

The property display name.

type String

The type of the schema property. It can be "string", "boolean", "number", "integer", "array", or "object".

master String

Master priority for the user schema property. It can be set to "PROFILE_MASTER" or "OKTA".

pattern String

The validation pattern to use for the subschema, only available for login property. Must be in form of .+, or [<pattern>]+.

permissions String

Access control permissions for the property. It can be set to "READ_WRITE", "READ_ONLY", "HIDE".

required Boolean

Whether the property is required for this application's users.

userType String

Custom subschema user type

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing UserBaseSchema Resource

Get an existing UserBaseSchema 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?: UserBaseSchemaState, opts?: CustomResourceOptions): UserBaseSchema
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        app_id: Optional[str] = None,
        index: Optional[str] = None,
        master: Optional[str] = None,
        pattern: Optional[str] = None,
        permissions: Optional[str] = None,
        required: Optional[bool] = None,
        title: Optional[str] = None,
        type: Optional[str] = None,
        user_type: Optional[str] = None) -> UserBaseSchema
func GetUserBaseSchema(ctx *Context, name string, id IDInput, state *UserBaseSchemaState, opts ...ResourceOption) (*UserBaseSchema, error)
public static UserBaseSchema Get(string name, Input<string> id, UserBaseSchemaState? state, CustomResourceOptions? opts = null)
public static UserBaseSchema get(String name, Output<String> id, UserBaseSchemaState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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:
AppId string

The Application's ID the user schema property should be assigned to.

Index string

The property name.

Master string

Master priority for the user schema property. It can be set to "PROFILE_MASTER" or "OKTA".

Pattern string

The validation pattern to use for the subschema, only available for login property. Must be in form of .+, or [<pattern>]+.

Permissions string

Access control permissions for the property. It can be set to "READ_WRITE", "READ_ONLY", "HIDE".

Required bool

Whether the property is required for this application's users.

Title string

The property display name.

Type string

The type of the schema property. It can be "string", "boolean", "number", "integer", "array", or "object".

UserType string

Custom subschema user type

AppId string

The Application's ID the user schema property should be assigned to.

Index string

The property name.

Master string

Master priority for the user schema property. It can be set to "PROFILE_MASTER" or "OKTA".

Pattern string

The validation pattern to use for the subschema, only available for login property. Must be in form of .+, or [<pattern>]+.

Permissions string

Access control permissions for the property. It can be set to "READ_WRITE", "READ_ONLY", "HIDE".

Required bool

Whether the property is required for this application's users.

Title string

The property display name.

Type string

The type of the schema property. It can be "string", "boolean", "number", "integer", "array", or "object".

UserType string

Custom subschema user type

appId String

The Application's ID the user schema property should be assigned to.

index String

The property name.

master String

Master priority for the user schema property. It can be set to "PROFILE_MASTER" or "OKTA".

pattern String

The validation pattern to use for the subschema, only available for login property. Must be in form of .+, or [<pattern>]+.

permissions String

Access control permissions for the property. It can be set to "READ_WRITE", "READ_ONLY", "HIDE".

required Boolean

Whether the property is required for this application's users.

title String

The property display name.

type String

The type of the schema property. It can be "string", "boolean", "number", "integer", "array", or "object".

userType String

Custom subschema user type

appId string

The Application's ID the user schema property should be assigned to.

index string

The property name.

master string

Master priority for the user schema property. It can be set to "PROFILE_MASTER" or "OKTA".

pattern string

The validation pattern to use for the subschema, only available for login property. Must be in form of .+, or [<pattern>]+.

permissions string

Access control permissions for the property. It can be set to "READ_WRITE", "READ_ONLY", "HIDE".

required boolean

Whether the property is required for this application's users.

title string

The property display name.

type string

The type of the schema property. It can be "string", "boolean", "number", "integer", "array", or "object".

userType string

Custom subschema user type

app_id str

The Application's ID the user schema property should be assigned to.

index str

The property name.

master str

Master priority for the user schema property. It can be set to "PROFILE_MASTER" or "OKTA".

pattern str

The validation pattern to use for the subschema, only available for login property. Must be in form of .+, or [<pattern>]+.

permissions str

Access control permissions for the property. It can be set to "READ_WRITE", "READ_ONLY", "HIDE".

required bool

Whether the property is required for this application's users.

title str

The property display name.

type str

The type of the schema property. It can be "string", "boolean", "number", "integer", "array", or "object".

user_type str

Custom subschema user type

appId String

The Application's ID the user schema property should be assigned to.

index String

The property name.

master String

Master priority for the user schema property. It can be set to "PROFILE_MASTER" or "OKTA".

pattern String

The validation pattern to use for the subschema, only available for login property. Must be in form of .+, or [<pattern>]+.

permissions String

Access control permissions for the property. It can be set to "READ_WRITE", "READ_ONLY", "HIDE".

required Boolean

Whether the property is required for this application's users.

title String

The property display name.

type String

The type of the schema property. It can be "string", "boolean", "number", "integer", "array", or "object".

userType String

Custom subschema user type

Import

App user base schema property can be imported via the property index and app id.

 $ pulumi import okta:app/userBaseSchema:UserBaseSchema example &#60;app id&#62;/&#60;property name&#62;

Package Details

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

This Pulumi package is based on the okta Terraform Provider.