okta.UserSchemaProperty
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example = new okta.UserSchemaProperty("example", {
    index: "customPropertyName",
    title: "customPropertyName",
    type: "string",
    description: "My custom property name",
    master: "OKTA",
    scope: "SELF",
    userType: exampleOktaUserType.id,
});
import pulumi
import pulumi_okta as okta
example = okta.UserSchemaProperty("example",
    index="customPropertyName",
    title="customPropertyName",
    type="string",
    description="My custom property name",
    master="OKTA",
    scope="SELF",
    user_type=example_okta_user_type["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.NewUserSchemaProperty(ctx, "example", &okta.UserSchemaPropertyArgs{
			Index:       pulumi.String("customPropertyName"),
			Title:       pulumi.String("customPropertyName"),
			Type:        pulumi.String("string"),
			Description: pulumi.String("My custom property name"),
			Master:      pulumi.String("OKTA"),
			Scope:       pulumi.String("SELF"),
			UserType:    pulumi.Any(exampleOktaUserType.Id),
		})
		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 = new Okta.UserSchemaProperty("example", new()
    {
        Index = "customPropertyName",
        Title = "customPropertyName",
        Type = "string",
        Description = "My custom property name",
        Master = "OKTA",
        Scope = "SELF",
        UserType = exampleOktaUserType.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.UserSchemaProperty;
import com.pulumi.okta.UserSchemaPropertyArgs;
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 UserSchemaProperty("example", UserSchemaPropertyArgs.builder()
            .index("customPropertyName")
            .title("customPropertyName")
            .type("string")
            .description("My custom property name")
            .master("OKTA")
            .scope("SELF")
            .userType(exampleOktaUserType.id())
            .build());
    }
}
resources:
  example:
    type: okta:UserSchemaProperty
    properties:
      index: customPropertyName
      title: customPropertyName
      type: string
      description: My custom property name
      master: OKTA
      scope: SELF
      userType: ${exampleOktaUserType.id}
Create UserSchemaProperty Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UserSchemaProperty(name: string, args: UserSchemaPropertyArgs, opts?: CustomResourceOptions);@overload
def UserSchemaProperty(resource_name: str,
                       args: UserSchemaPropertyArgs,
                       opts: Optional[ResourceOptions] = None)
@overload
def UserSchemaProperty(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       index: Optional[str] = None,
                       type: Optional[str] = None,
                       title: Optional[str] = None,
                       max_length: Optional[int] = None,
                       one_ofs: Optional[Sequence[UserSchemaPropertyOneOfArgs]] = None,
                       external_name: Optional[str] = None,
                       external_namespace: Optional[str] = None,
                       description: Optional[str] = None,
                       master: Optional[str] = None,
                       master_override_priorities: Optional[Sequence[UserSchemaPropertyMasterOverridePriorityArgs]] = None,
                       array_enums: Optional[Sequence[str]] = None,
                       min_length: Optional[int] = None,
                       enums: Optional[Sequence[str]] = None,
                       pattern: Optional[str] = None,
                       permissions: Optional[str] = None,
                       required: Optional[bool] = None,
                       scope: Optional[str] = None,
                       array_type: Optional[str] = None,
                       array_one_ofs: Optional[Sequence[UserSchemaPropertyArrayOneOfArgs]] = None,
                       unique: Optional[str] = None,
                       user_type: Optional[str] = None)func NewUserSchemaProperty(ctx *Context, name string, args UserSchemaPropertyArgs, opts ...ResourceOption) (*UserSchemaProperty, error)public UserSchemaProperty(string name, UserSchemaPropertyArgs args, CustomResourceOptions? opts = null)
public UserSchemaProperty(String name, UserSchemaPropertyArgs args)
public UserSchemaProperty(String name, UserSchemaPropertyArgs args, CustomResourceOptions options)
type: okta:UserSchemaProperty
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 UserSchemaPropertyArgs
- 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 UserSchemaPropertyArgs
- 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 UserSchemaPropertyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserSchemaPropertyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserSchemaPropertyArgs
- 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 userSchemaPropertyResource = new Okta.UserSchemaProperty("userSchemaPropertyResource", new()
{
    Index = "string",
    Type = "string",
    Title = "string",
    MaxLength = 0,
    OneOfs = new[]
    {
        new Okta.Inputs.UserSchemaPropertyOneOfArgs
        {
            Const = "string",
            Title = "string",
        },
    },
    ExternalName = "string",
    ExternalNamespace = "string",
    Description = "string",
    Master = "string",
    MasterOverridePriorities = new[]
    {
        new Okta.Inputs.UserSchemaPropertyMasterOverridePriorityArgs
        {
            Value = "string",
            Type = "string",
        },
    },
    ArrayEnums = new[]
    {
        "string",
    },
    MinLength = 0,
    Enums = new[]
    {
        "string",
    },
    Pattern = "string",
    Permissions = "string",
    Required = false,
    Scope = "string",
    ArrayType = "string",
    ArrayOneOfs = new[]
    {
        new Okta.Inputs.UserSchemaPropertyArrayOneOfArgs
        {
            Const = "string",
            Title = "string",
        },
    },
    Unique = "string",
    UserType = "string",
});
example, err := okta.NewUserSchemaProperty(ctx, "userSchemaPropertyResource", &okta.UserSchemaPropertyArgs{
	Index:     pulumi.String("string"),
	Type:      pulumi.String("string"),
	Title:     pulumi.String("string"),
	MaxLength: pulumi.Int(0),
	OneOfs: okta.UserSchemaPropertyOneOfArray{
		&okta.UserSchemaPropertyOneOfArgs{
			Const: pulumi.String("string"),
			Title: pulumi.String("string"),
		},
	},
	ExternalName:      pulumi.String("string"),
	ExternalNamespace: pulumi.String("string"),
	Description:       pulumi.String("string"),
	Master:            pulumi.String("string"),
	MasterOverridePriorities: okta.UserSchemaPropertyMasterOverridePriorityArray{
		&okta.UserSchemaPropertyMasterOverridePriorityArgs{
			Value: pulumi.String("string"),
			Type:  pulumi.String("string"),
		},
	},
	ArrayEnums: pulumi.StringArray{
		pulumi.String("string"),
	},
	MinLength: pulumi.Int(0),
	Enums: pulumi.StringArray{
		pulumi.String("string"),
	},
	Pattern:     pulumi.String("string"),
	Permissions: pulumi.String("string"),
	Required:    pulumi.Bool(false),
	Scope:       pulumi.String("string"),
	ArrayType:   pulumi.String("string"),
	ArrayOneOfs: okta.UserSchemaPropertyArrayOneOfArray{
		&okta.UserSchemaPropertyArrayOneOfArgs{
			Const: pulumi.String("string"),
			Title: pulumi.String("string"),
		},
	},
	Unique:   pulumi.String("string"),
	UserType: pulumi.String("string"),
})
var userSchemaPropertyResource = new UserSchemaProperty("userSchemaPropertyResource", UserSchemaPropertyArgs.builder()
    .index("string")
    .type("string")
    .title("string")
    .maxLength(0)
    .oneOfs(UserSchemaPropertyOneOfArgs.builder()
        .const_("string")
        .title("string")
        .build())
    .externalName("string")
    .externalNamespace("string")
    .description("string")
    .master("string")
    .masterOverridePriorities(UserSchemaPropertyMasterOverridePriorityArgs.builder()
        .value("string")
        .type("string")
        .build())
    .arrayEnums("string")
    .minLength(0)
    .enums("string")
    .pattern("string")
    .permissions("string")
    .required(false)
    .scope("string")
    .arrayType("string")
    .arrayOneOfs(UserSchemaPropertyArrayOneOfArgs.builder()
        .const_("string")
        .title("string")
        .build())
    .unique("string")
    .userType("string")
    .build());
user_schema_property_resource = okta.UserSchemaProperty("userSchemaPropertyResource",
    index="string",
    type="string",
    title="string",
    max_length=0,
    one_ofs=[{
        "const": "string",
        "title": "string",
    }],
    external_name="string",
    external_namespace="string",
    description="string",
    master="string",
    master_override_priorities=[{
        "value": "string",
        "type": "string",
    }],
    array_enums=["string"],
    min_length=0,
    enums=["string"],
    pattern="string",
    permissions="string",
    required=False,
    scope="string",
    array_type="string",
    array_one_ofs=[{
        "const": "string",
        "title": "string",
    }],
    unique="string",
    user_type="string")
const userSchemaPropertyResource = new okta.UserSchemaProperty("userSchemaPropertyResource", {
    index: "string",
    type: "string",
    title: "string",
    maxLength: 0,
    oneOfs: [{
        "const": "string",
        title: "string",
    }],
    externalName: "string",
    externalNamespace: "string",
    description: "string",
    master: "string",
    masterOverridePriorities: [{
        value: "string",
        type: "string",
    }],
    arrayEnums: ["string"],
    minLength: 0,
    enums: ["string"],
    pattern: "string",
    permissions: "string",
    required: false,
    scope: "string",
    arrayType: "string",
    arrayOneOfs: [{
        "const": "string",
        title: "string",
    }],
    unique: "string",
    userType: "string",
});
type: okta:UserSchemaProperty
properties:
    arrayEnums:
        - string
    arrayOneOfs:
        - const: string
          title: string
    arrayType: string
    description: string
    enums:
        - string
    externalName: string
    externalNamespace: string
    index: string
    master: string
    masterOverridePriorities:
        - type: string
          value: string
    maxLength: 0
    minLength: 0
    oneOfs:
        - const: string
          title: string
    pattern: string
    permissions: string
    required: false
    scope: string
    title: string
    type: string
    unique: string
    userType: string
UserSchemaProperty 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 UserSchemaProperty resource accepts the following input properties:
- Index string
- Subschema unique string identifier
- Title string
- Subschema title (display name)
- Type string
- The type of the schema property. It can be string,boolean,number,integer,array, orobject
- ArrayEnums List<string>
- Array of values that an array property's items can be set to.
- ArrayOne List<UserOfs Schema Property Array One Of> 
- Display name and value an enum array can be set to. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- ArrayType string
- The type of the array elements if typeis set toarray
- Description string
- The description of the user schema property.
- Enums List<string>
- Array of values a primitive property can be set to. See array_enumfor arrays.
- ExternalName string
- External name of the user schema property.
- ExternalNamespace string
- External namespace of the user schema property.
- Master string
- Master priority for the user schema property. It can be set to PROFILE_MASTER,OVERRIDEorOKTA.
- MasterOverride List<UserPriorities Schema Property Master Override Priority> 
- Prioritized list of profile sources (required when 'master' is 'OVERRIDE'). - 'type' - (Optional) - Type of profile source. - 'value' - (Required) - ID of profile source.
- MaxLength int
- The maximum length of the user property value. Only applies to type string
- MinLength int
- The minimum length of the user property value. Only applies to type string
- OneOfs List<UserSchema Property One Of> 
- Array of maps containing a mapping for display name to enum value. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- Pattern string
- The validation pattern to use for the subschema. Must be in form of '.+', or '[]+' if present.'
- Permissions string
- Access control permissions for the property. It can be set to READ_WRITE,READ_ONLY,HIDE. Default:READ_ONLY
- Required bool
- Whether the subschema is required
- Scope string
- determines whether an app user attribute can be set at the Individual or Group Level. Default: NONE
- Unique string
- Whether the property should be unique. It can be set to UNIQUE_VALIDATEDorNOT_UNIQUE.
- UserType string
- User type ID. By default, it is default
- Index string
- Subschema unique string identifier
- Title string
- Subschema title (display name)
- Type string
- The type of the schema property. It can be string,boolean,number,integer,array, orobject
- ArrayEnums []string
- Array of values that an array property's items can be set to.
- ArrayOne []UserOfs Schema Property Array One Of Args 
- Display name and value an enum array can be set to. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- ArrayType string
- The type of the array elements if typeis set toarray
- Description string
- The description of the user schema property.
- Enums []string
- Array of values a primitive property can be set to. See array_enumfor arrays.
- ExternalName string
- External name of the user schema property.
- ExternalNamespace string
- External namespace of the user schema property.
- Master string
- Master priority for the user schema property. It can be set to PROFILE_MASTER,OVERRIDEorOKTA.
- MasterOverride []UserPriorities Schema Property Master Override Priority Args 
- Prioritized list of profile sources (required when 'master' is 'OVERRIDE'). - 'type' - (Optional) - Type of profile source. - 'value' - (Required) - ID of profile source.
- MaxLength int
- The maximum length of the user property value. Only applies to type string
- MinLength int
- The minimum length of the user property value. Only applies to type string
- OneOfs []UserSchema Property One Of Args 
- Array of maps containing a mapping for display name to enum value. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- Pattern string
- The validation pattern to use for the subschema. Must be in form of '.+', or '[]+' if present.'
- Permissions string
- Access control permissions for the property. It can be set to READ_WRITE,READ_ONLY,HIDE. Default:READ_ONLY
- Required bool
- Whether the subschema is required
- Scope string
- determines whether an app user attribute can be set at the Individual or Group Level. Default: NONE
- Unique string
- Whether the property should be unique. It can be set to UNIQUE_VALIDATEDorNOT_UNIQUE.
- UserType string
- User type ID. By default, it is default
- index String
- Subschema unique string identifier
- title String
- Subschema title (display name)
- type String
- The type of the schema property. It can be string,boolean,number,integer,array, orobject
- arrayEnums List<String>
- Array of values that an array property's items can be set to.
- arrayOne List<UserOfs Schema Property Array One Of> 
- Display name and value an enum array can be set to. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- arrayType String
- The type of the array elements if typeis set toarray
- description String
- The description of the user schema property.
- enums List<String>
- Array of values a primitive property can be set to. See array_enumfor arrays.
- externalName String
- External name of the user schema property.
- externalNamespace String
- External namespace of the user schema property.
- master String
- Master priority for the user schema property. It can be set to PROFILE_MASTER,OVERRIDEorOKTA.
- masterOverride List<UserPriorities Schema Property Master Override Priority> 
- Prioritized list of profile sources (required when 'master' is 'OVERRIDE'). - 'type' - (Optional) - Type of profile source. - 'value' - (Required) - ID of profile source.
- maxLength Integer
- The maximum length of the user property value. Only applies to type string
- minLength Integer
- The minimum length of the user property value. Only applies to type string
- oneOfs List<UserSchema Property One Of> 
- Array of maps containing a mapping for display name to enum value. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- pattern String
- The validation pattern to use for the subschema. Must be in form of '.+', or '[]+' if present.'
- permissions String
- Access control permissions for the property. It can be set to READ_WRITE,READ_ONLY,HIDE. Default:READ_ONLY
- required Boolean
- Whether the subschema is required
- scope String
- determines whether an app user attribute can be set at the Individual or Group Level. Default: NONE
- unique String
- Whether the property should be unique. It can be set to UNIQUE_VALIDATEDorNOT_UNIQUE.
- userType String
- User type ID. By default, it is default
- index string
- Subschema unique string identifier
- title string
- Subschema title (display name)
- type string
- The type of the schema property. It can be string,boolean,number,integer,array, orobject
- arrayEnums string[]
- Array of values that an array property's items can be set to.
- arrayOne UserOfs Schema Property Array One Of[] 
- Display name and value an enum array can be set to. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- arrayType string
- The type of the array elements if typeis set toarray
- description string
- The description of the user schema property.
- enums string[]
- Array of values a primitive property can be set to. See array_enumfor arrays.
- externalName string
- External name of the user schema property.
- externalNamespace string
- External namespace of the user schema property.
- master string
- Master priority for the user schema property. It can be set to PROFILE_MASTER,OVERRIDEorOKTA.
- masterOverride UserPriorities Schema Property Master Override Priority[] 
- Prioritized list of profile sources (required when 'master' is 'OVERRIDE'). - 'type' - (Optional) - Type of profile source. - 'value' - (Required) - ID of profile source.
- maxLength number
- The maximum length of the user property value. Only applies to type string
- minLength number
- The minimum length of the user property value. Only applies to type string
- oneOfs UserSchema Property One Of[] 
- Array of maps containing a mapping for display name to enum value. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- pattern string
- The validation pattern to use for the subschema. Must be in form of '.+', or '[]+' if present.'
- permissions string
- Access control permissions for the property. It can be set to READ_WRITE,READ_ONLY,HIDE. Default:READ_ONLY
- required boolean
- Whether the subschema is required
- scope string
- determines whether an app user attribute can be set at the Individual or Group Level. Default: NONE
- unique string
- Whether the property should be unique. It can be set to UNIQUE_VALIDATEDorNOT_UNIQUE.
- userType string
- User type ID. By default, it is default
- index str
- Subschema unique string identifier
- title str
- Subschema title (display name)
- type str
- The type of the schema property. It can be string,boolean,number,integer,array, orobject
- array_enums Sequence[str]
- Array of values that an array property's items can be set to.
- array_one_ Sequence[Userofs Schema Property Array One Of Args] 
- Display name and value an enum array can be set to. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- array_type str
- The type of the array elements if typeis set toarray
- description str
- The description of the user schema property.
- enums Sequence[str]
- Array of values a primitive property can be set to. See array_enumfor arrays.
- external_name str
- External name of the user schema property.
- external_namespace str
- External namespace of the user schema property.
- master str
- Master priority for the user schema property. It can be set to PROFILE_MASTER,OVERRIDEorOKTA.
- master_override_ Sequence[Userpriorities Schema Property Master Override Priority Args] 
- Prioritized list of profile sources (required when 'master' is 'OVERRIDE'). - 'type' - (Optional) - Type of profile source. - 'value' - (Required) - ID of profile source.
- max_length int
- The maximum length of the user property value. Only applies to type string
- min_length int
- The minimum length of the user property value. Only applies to type string
- one_ofs Sequence[UserSchema Property One Of Args] 
- Array of maps containing a mapping for display name to enum value. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- pattern str
- The validation pattern to use for the subschema. Must be in form of '.+', or '[]+' if present.'
- permissions str
- Access control permissions for the property. It can be set to READ_WRITE,READ_ONLY,HIDE. Default:READ_ONLY
- required bool
- Whether the subschema is required
- scope str
- determines whether an app user attribute can be set at the Individual or Group Level. Default: NONE
- unique str
- Whether the property should be unique. It can be set to UNIQUE_VALIDATEDorNOT_UNIQUE.
- user_type str
- User type ID. By default, it is default
- index String
- Subschema unique string identifier
- title String
- Subschema title (display name)
- type String
- The type of the schema property. It can be string,boolean,number,integer,array, orobject
- arrayEnums List<String>
- Array of values that an array property's items can be set to.
- arrayOne List<Property Map>Ofs 
- Display name and value an enum array can be set to. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- arrayType String
- The type of the array elements if typeis set toarray
- description String
- The description of the user schema property.
- enums List<String>
- Array of values a primitive property can be set to. See array_enumfor arrays.
- externalName String
- External name of the user schema property.
- externalNamespace String
- External namespace of the user schema property.
- master String
- Master priority for the user schema property. It can be set to PROFILE_MASTER,OVERRIDEorOKTA.
- masterOverride List<Property Map>Priorities 
- Prioritized list of profile sources (required when 'master' is 'OVERRIDE'). - 'type' - (Optional) - Type of profile source. - 'value' - (Required) - ID of profile source.
- maxLength Number
- The maximum length of the user property value. Only applies to type string
- minLength Number
- The minimum length of the user property value. Only applies to type string
- oneOfs List<Property Map>
- Array of maps containing a mapping for display name to enum value. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- pattern String
- The validation pattern to use for the subschema. Must be in form of '.+', or '[]+' if present.'
- permissions String
- Access control permissions for the property. It can be set to READ_WRITE,READ_ONLY,HIDE. Default:READ_ONLY
- required Boolean
- Whether the subschema is required
- scope String
- determines whether an app user attribute can be set at the Individual or Group Level. Default: NONE
- unique String
- Whether the property should be unique. It can be set to UNIQUE_VALIDATEDorNOT_UNIQUE.
- userType String
- User type ID. By default, it is default
Outputs
All input properties are implicitly available as output properties. Additionally, the UserSchemaProperty 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 UserSchemaProperty Resource
Get an existing UserSchemaProperty 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?: UserSchemaPropertyState, opts?: CustomResourceOptions): UserSchemaProperty@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        array_enums: Optional[Sequence[str]] = None,
        array_one_ofs: Optional[Sequence[UserSchemaPropertyArrayOneOfArgs]] = None,
        array_type: Optional[str] = None,
        description: Optional[str] = None,
        enums: Optional[Sequence[str]] = None,
        external_name: Optional[str] = None,
        external_namespace: Optional[str] = None,
        index: Optional[str] = None,
        master: Optional[str] = None,
        master_override_priorities: Optional[Sequence[UserSchemaPropertyMasterOverridePriorityArgs]] = None,
        max_length: Optional[int] = None,
        min_length: Optional[int] = None,
        one_ofs: Optional[Sequence[UserSchemaPropertyOneOfArgs]] = None,
        pattern: Optional[str] = None,
        permissions: Optional[str] = None,
        required: Optional[bool] = None,
        scope: Optional[str] = None,
        title: Optional[str] = None,
        type: Optional[str] = None,
        unique: Optional[str] = None,
        user_type: Optional[str] = None) -> UserSchemaPropertyfunc GetUserSchemaProperty(ctx *Context, name string, id IDInput, state *UserSchemaPropertyState, opts ...ResourceOption) (*UserSchemaProperty, error)public static UserSchemaProperty Get(string name, Input<string> id, UserSchemaPropertyState? state, CustomResourceOptions? opts = null)public static UserSchemaProperty get(String name, Output<String> id, UserSchemaPropertyState state, CustomResourceOptions options)resources:  _:    type: okta:UserSchemaProperty    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.
- ArrayEnums List<string>
- Array of values that an array property's items can be set to.
- ArrayOne List<UserOfs Schema Property Array One Of> 
- Display name and value an enum array can be set to. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- ArrayType string
- The type of the array elements if typeis set toarray
- Description string
- The description of the user schema property.
- Enums List<string>
- Array of values a primitive property can be set to. See array_enumfor arrays.
- ExternalName string
- External name of the user schema property.
- ExternalNamespace string
- External namespace of the user schema property.
- Index string
- Subschema unique string identifier
- Master string
- Master priority for the user schema property. It can be set to PROFILE_MASTER,OVERRIDEorOKTA.
- MasterOverride List<UserPriorities Schema Property Master Override Priority> 
- Prioritized list of profile sources (required when 'master' is 'OVERRIDE'). - 'type' - (Optional) - Type of profile source. - 'value' - (Required) - ID of profile source.
- MaxLength int
- The maximum length of the user property value. Only applies to type string
- MinLength int
- The minimum length of the user property value. Only applies to type string
- OneOfs List<UserSchema Property One Of> 
- Array of maps containing a mapping for display name to enum value. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- Pattern string
- The validation pattern to use for the subschema. Must be in form of '.+', or '[]+' if present.'
- Permissions string
- Access control permissions for the property. It can be set to READ_WRITE,READ_ONLY,HIDE. Default:READ_ONLY
- Required bool
- Whether the subschema is required
- Scope string
- determines whether an app user attribute can be set at the Individual or Group Level. Default: NONE
- Title string
- Subschema title (display name)
- Type string
- The type of the schema property. It can be string,boolean,number,integer,array, orobject
- Unique string
- Whether the property should be unique. It can be set to UNIQUE_VALIDATEDorNOT_UNIQUE.
- UserType string
- User type ID. By default, it is default
- ArrayEnums []string
- Array of values that an array property's items can be set to.
- ArrayOne []UserOfs Schema Property Array One Of Args 
- Display name and value an enum array can be set to. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- ArrayType string
- The type of the array elements if typeis set toarray
- Description string
- The description of the user schema property.
- Enums []string
- Array of values a primitive property can be set to. See array_enumfor arrays.
- ExternalName string
- External name of the user schema property.
- ExternalNamespace string
- External namespace of the user schema property.
- Index string
- Subschema unique string identifier
- Master string
- Master priority for the user schema property. It can be set to PROFILE_MASTER,OVERRIDEorOKTA.
- MasterOverride []UserPriorities Schema Property Master Override Priority Args 
- Prioritized list of profile sources (required when 'master' is 'OVERRIDE'). - 'type' - (Optional) - Type of profile source. - 'value' - (Required) - ID of profile source.
- MaxLength int
- The maximum length of the user property value. Only applies to type string
- MinLength int
- The minimum length of the user property value. Only applies to type string
- OneOfs []UserSchema Property One Of Args 
- Array of maps containing a mapping for display name to enum value. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- Pattern string
- The validation pattern to use for the subschema. Must be in form of '.+', or '[]+' if present.'
- Permissions string
- Access control permissions for the property. It can be set to READ_WRITE,READ_ONLY,HIDE. Default:READ_ONLY
- Required bool
- Whether the subschema is required
- Scope string
- determines whether an app user attribute can be set at the Individual or Group Level. Default: NONE
- Title string
- Subschema title (display name)
- Type string
- The type of the schema property. It can be string,boolean,number,integer,array, orobject
- Unique string
- Whether the property should be unique. It can be set to UNIQUE_VALIDATEDorNOT_UNIQUE.
- UserType string
- User type ID. By default, it is default
- arrayEnums List<String>
- Array of values that an array property's items can be set to.
- arrayOne List<UserOfs Schema Property Array One Of> 
- Display name and value an enum array can be set to. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- arrayType String
- The type of the array elements if typeis set toarray
- description String
- The description of the user schema property.
- enums List<String>
- Array of values a primitive property can be set to. See array_enumfor arrays.
- externalName String
- External name of the user schema property.
- externalNamespace String
- External namespace of the user schema property.
- index String
- Subschema unique string identifier
- master String
- Master priority for the user schema property. It can be set to PROFILE_MASTER,OVERRIDEorOKTA.
- masterOverride List<UserPriorities Schema Property Master Override Priority> 
- Prioritized list of profile sources (required when 'master' is 'OVERRIDE'). - 'type' - (Optional) - Type of profile source. - 'value' - (Required) - ID of profile source.
- maxLength Integer
- The maximum length of the user property value. Only applies to type string
- minLength Integer
- The minimum length of the user property value. Only applies to type string
- oneOfs List<UserSchema Property One Of> 
- Array of maps containing a mapping for display name to enum value. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- pattern String
- The validation pattern to use for the subschema. Must be in form of '.+', or '[]+' if present.'
- permissions String
- Access control permissions for the property. It can be set to READ_WRITE,READ_ONLY,HIDE. Default:READ_ONLY
- required Boolean
- Whether the subschema is required
- scope String
- determines whether an app user attribute can be set at the Individual or Group Level. Default: NONE
- title String
- Subschema title (display name)
- type String
- The type of the schema property. It can be string,boolean,number,integer,array, orobject
- unique String
- Whether the property should be unique. It can be set to UNIQUE_VALIDATEDorNOT_UNIQUE.
- userType String
- User type ID. By default, it is default
- arrayEnums string[]
- Array of values that an array property's items can be set to.
- arrayOne UserOfs Schema Property Array One Of[] 
- Display name and value an enum array can be set to. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- arrayType string
- The type of the array elements if typeis set toarray
- description string
- The description of the user schema property.
- enums string[]
- Array of values a primitive property can be set to. See array_enumfor arrays.
- externalName string
- External name of the user schema property.
- externalNamespace string
- External namespace of the user schema property.
- index string
- Subschema unique string identifier
- master string
- Master priority for the user schema property. It can be set to PROFILE_MASTER,OVERRIDEorOKTA.
- masterOverride UserPriorities Schema Property Master Override Priority[] 
- Prioritized list of profile sources (required when 'master' is 'OVERRIDE'). - 'type' - (Optional) - Type of profile source. - 'value' - (Required) - ID of profile source.
- maxLength number
- The maximum length of the user property value. Only applies to type string
- minLength number
- The minimum length of the user property value. Only applies to type string
- oneOfs UserSchema Property One Of[] 
- Array of maps containing a mapping for display name to enum value. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- pattern string
- The validation pattern to use for the subschema. Must be in form of '.+', or '[]+' if present.'
- permissions string
- Access control permissions for the property. It can be set to READ_WRITE,READ_ONLY,HIDE. Default:READ_ONLY
- required boolean
- Whether the subschema is required
- scope string
- determines whether an app user attribute can be set at the Individual or Group Level. Default: NONE
- title string
- Subschema title (display name)
- type string
- The type of the schema property. It can be string,boolean,number,integer,array, orobject
- unique string
- Whether the property should be unique. It can be set to UNIQUE_VALIDATEDorNOT_UNIQUE.
- userType string
- User type ID. By default, it is default
- array_enums Sequence[str]
- Array of values that an array property's items can be set to.
- array_one_ Sequence[Userofs Schema Property Array One Of Args] 
- Display name and value an enum array can be set to. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- array_type str
- The type of the array elements if typeis set toarray
- description str
- The description of the user schema property.
- enums Sequence[str]
- Array of values a primitive property can be set to. See array_enumfor arrays.
- external_name str
- External name of the user schema property.
- external_namespace str
- External namespace of the user schema property.
- index str
- Subschema unique string identifier
- master str
- Master priority for the user schema property. It can be set to PROFILE_MASTER,OVERRIDEorOKTA.
- master_override_ Sequence[Userpriorities Schema Property Master Override Priority Args] 
- Prioritized list of profile sources (required when 'master' is 'OVERRIDE'). - 'type' - (Optional) - Type of profile source. - 'value' - (Required) - ID of profile source.
- max_length int
- The maximum length of the user property value. Only applies to type string
- min_length int
- The minimum length of the user property value. Only applies to type string
- one_ofs Sequence[UserSchema Property One Of Args] 
- Array of maps containing a mapping for display name to enum value. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- pattern str
- The validation pattern to use for the subschema. Must be in form of '.+', or '[]+' if present.'
- permissions str
- Access control permissions for the property. It can be set to READ_WRITE,READ_ONLY,HIDE. Default:READ_ONLY
- required bool
- Whether the subschema is required
- scope str
- determines whether an app user attribute can be set at the Individual or Group Level. Default: NONE
- title str
- Subschema title (display name)
- type str
- The type of the schema property. It can be string,boolean,number,integer,array, orobject
- unique str
- Whether the property should be unique. It can be set to UNIQUE_VALIDATEDorNOT_UNIQUE.
- user_type str
- User type ID. By default, it is default
- arrayEnums List<String>
- Array of values that an array property's items can be set to.
- arrayOne List<Property Map>Ofs 
- Display name and value an enum array can be set to. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- arrayType String
- The type of the array elements if typeis set toarray
- description String
- The description of the user schema property.
- enums List<String>
- Array of values a primitive property can be set to. See array_enumfor arrays.
- externalName String
- External name of the user schema property.
- externalNamespace String
- External namespace of the user schema property.
- index String
- Subschema unique string identifier
- master String
- Master priority for the user schema property. It can be set to PROFILE_MASTER,OVERRIDEorOKTA.
- masterOverride List<Property Map>Priorities 
- Prioritized list of profile sources (required when 'master' is 'OVERRIDE'). - 'type' - (Optional) - Type of profile source. - 'value' - (Required) - ID of profile source.
- maxLength Number
- The maximum length of the user property value. Only applies to type string
- minLength Number
- The minimum length of the user property value. Only applies to type string
- oneOfs List<Property Map>
- Array of maps containing a mapping for display name to enum value. - 'const' - (Required) value mapping to member of 'enum'. - 'title' - (Required) display name for the enum value.
- pattern String
- The validation pattern to use for the subschema. Must be in form of '.+', or '[]+' if present.'
- permissions String
- Access control permissions for the property. It can be set to READ_WRITE,READ_ONLY,HIDE. Default:READ_ONLY
- required Boolean
- Whether the subschema is required
- scope String
- determines whether an app user attribute can be set at the Individual or Group Level. Default: NONE
- title String
- Subschema title (display name)
- type String
- The type of the schema property. It can be string,boolean,number,integer,array, orobject
- unique String
- Whether the property should be unique. It can be set to UNIQUE_VALIDATEDorNOT_UNIQUE.
- userType String
- User type ID. By default, it is default
Supporting Types
UserSchemaPropertyArrayOneOf, UserSchemaPropertyArrayOneOfArgs            
UserSchemaPropertyMasterOverridePriority, UserSchemaPropertyMasterOverridePriorityArgs            
UserSchemaPropertyOneOf, UserSchemaPropertyOneOfArgs          
Import
$ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example <variableName>
$ pulumi import okta:index/userSchemaProperty:UserSchemaProperty example <user_type_id>.<index>
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 oktaTerraform Provider.
