user

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseSchema

type BaseSchema struct {
	pulumi.CustomResourceState

	// The property name.
	Index pulumi.StringOutput `pulumi:"index"`
	// Master priority for the user schema property. It can be set to `"PROFILE_MASTER"` or `"OKTA"`.
	Master pulumi.StringPtrOutput `pulumi:"master"`
	// Access control permissions for the property. It can be set to `"READ_WRITE"`, `"READ_ONLY"`, `"HIDE"`.
	Permissions pulumi.StringPtrOutput `pulumi:"permissions"`
	// Whether the property is required for this application's users.
	Required pulumi.BoolPtrOutput `pulumi:"required"`
	// The property display name.
	Title pulumi.StringOutput `pulumi:"title"`
	// The type of the schema property. It can be `"string"`, `"boolean"`, `"number"`, `"integer"`, `"array"`, or `"object"`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Manages a User Base Schema property.

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

> This content is derived from https://github.com/articulate/terraform-provider-okta/blob/master/website/docs/r/user_base_schema.html.markdown.

func GetBaseSchema

func GetBaseSchema(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BaseSchemaState, opts ...pulumi.ResourceOption) (*BaseSchema, error)

GetBaseSchema gets an existing BaseSchema resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBaseSchema

func NewBaseSchema(ctx *pulumi.Context,
	name string, args *BaseSchemaArgs, opts ...pulumi.ResourceOption) (*BaseSchema, error)

NewBaseSchema registers a new resource with the given unique name, arguments, and options.

type BaseSchemaArgs

type BaseSchemaArgs struct {
	// The property name.
	Index pulumi.StringInput
	// Master priority for the user schema property. It can be set to `"PROFILE_MASTER"` or `"OKTA"`.
	Master pulumi.StringPtrInput
	// Access control permissions for the property. It can be set to `"READ_WRITE"`, `"READ_ONLY"`, `"HIDE"`.
	Permissions pulumi.StringPtrInput
	// Whether the property is required for this application's users.
	Required pulumi.BoolPtrInput
	// The property display name.
	Title pulumi.StringInput
	// The type of the schema property. It can be `"string"`, `"boolean"`, `"number"`, `"integer"`, `"array"`, or `"object"`.
	Type pulumi.StringInput
}

The set of arguments for constructing a BaseSchema resource.

func (BaseSchemaArgs) ElementType added in v1.4.0

func (BaseSchemaArgs) ElementType() reflect.Type

type BaseSchemaState

type BaseSchemaState struct {
	// The property name.
	Index pulumi.StringPtrInput
	// Master priority for the user schema property. It can be set to `"PROFILE_MASTER"` or `"OKTA"`.
	Master pulumi.StringPtrInput
	// Access control permissions for the property. It can be set to `"READ_WRITE"`, `"READ_ONLY"`, `"HIDE"`.
	Permissions pulumi.StringPtrInput
	// Whether the property is required for this application's users.
	Required pulumi.BoolPtrInput
	// The property display name.
	Title pulumi.StringPtrInput
	// The type of the schema property. It can be `"string"`, `"boolean"`, `"number"`, `"integer"`, `"array"`, or `"object"`.
	Type pulumi.StringPtrInput
}

func (BaseSchemaState) ElementType added in v1.4.0

func (BaseSchemaState) ElementType() reflect.Type

type GetUserProfileMappingSourceResult added in v1.3.0

type GetUserProfileMappingSourceResult struct {
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// name of source.
	Name string `pulumi:"name"`
	// type of source.
	Type string `pulumi:"type"`
}

A collection of values returned by getUserProfileMappingSource.

func GetUserProfileMappingSource added in v1.4.0

func GetUserProfileMappingSource(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetUserProfileMappingSourceResult, error)

Use this data source to retrieve the base user Profile Mapping source or target from Okta.

> This content is derived from https://github.com/articulate/terraform-provider-okta/blob/master/website/docs/d/user_profile_mapping_source.html.markdown.

type GetUserSearch added in v1.4.0

type GetUserSearch struct {
	// Comparison to use.
	Comparison *string `pulumi:"comparison"`
	// Name of property to search against.
	Name string `pulumi:"name"`
	// Value to compare with.
	Value string `pulumi:"value"`
}

type GetUserSearchArgs added in v1.4.0

type GetUserSearchArgs struct {
	// Comparison to use.
	Comparison pulumi.StringPtrInput `pulumi:"comparison"`
	// Name of property to search against.
	Name pulumi.StringInput `pulumi:"name"`
	// Value to compare with.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetUserSearchArgs) ElementType added in v1.4.0

func (GetUserSearchArgs) ElementType() reflect.Type

func (GetUserSearchArgs) ToGetUserSearchOutput added in v1.4.0

func (i GetUserSearchArgs) ToGetUserSearchOutput() GetUserSearchOutput

func (GetUserSearchArgs) ToGetUserSearchOutputWithContext added in v1.4.0

func (i GetUserSearchArgs) ToGetUserSearchOutputWithContext(ctx context.Context) GetUserSearchOutput

type GetUserSearchArray added in v1.4.0

type GetUserSearchArray []GetUserSearchInput

func (GetUserSearchArray) ElementType added in v1.4.0

func (GetUserSearchArray) ElementType() reflect.Type

func (GetUserSearchArray) ToGetUserSearchArrayOutput added in v1.4.0

func (i GetUserSearchArray) ToGetUserSearchArrayOutput() GetUserSearchArrayOutput

func (GetUserSearchArray) ToGetUserSearchArrayOutputWithContext added in v1.4.0

func (i GetUserSearchArray) ToGetUserSearchArrayOutputWithContext(ctx context.Context) GetUserSearchArrayOutput

type GetUserSearchArrayInput added in v1.4.0

type GetUserSearchArrayInput interface {
	pulumi.Input

	ToGetUserSearchArrayOutput() GetUserSearchArrayOutput
	ToGetUserSearchArrayOutputWithContext(context.Context) GetUserSearchArrayOutput
}

type GetUserSearchArrayOutput added in v1.4.0

type GetUserSearchArrayOutput struct{ *pulumi.OutputState }

func (GetUserSearchArrayOutput) ElementType added in v1.4.0

func (GetUserSearchArrayOutput) ElementType() reflect.Type

func (GetUserSearchArrayOutput) Index added in v1.4.0

func (GetUserSearchArrayOutput) ToGetUserSearchArrayOutput added in v1.4.0

func (o GetUserSearchArrayOutput) ToGetUserSearchArrayOutput() GetUserSearchArrayOutput

func (GetUserSearchArrayOutput) ToGetUserSearchArrayOutputWithContext added in v1.4.0

func (o GetUserSearchArrayOutput) ToGetUserSearchArrayOutputWithContext(ctx context.Context) GetUserSearchArrayOutput

type GetUserSearchInput added in v1.4.0

type GetUserSearchInput interface {
	pulumi.Input

	ToGetUserSearchOutput() GetUserSearchOutput
	ToGetUserSearchOutputWithContext(context.Context) GetUserSearchOutput
}

type GetUserSearchOutput added in v1.4.0

type GetUserSearchOutput struct{ *pulumi.OutputState }

func (GetUserSearchOutput) Comparison added in v1.4.0

Comparison to use.

func (GetUserSearchOutput) ElementType added in v1.4.0

func (GetUserSearchOutput) ElementType() reflect.Type

func (GetUserSearchOutput) Name added in v1.4.0

Name of property to search against.

func (GetUserSearchOutput) ToGetUserSearchOutput added in v1.4.0

func (o GetUserSearchOutput) ToGetUserSearchOutput() GetUserSearchOutput

func (GetUserSearchOutput) ToGetUserSearchOutputWithContext added in v1.4.0

func (o GetUserSearchOutput) ToGetUserSearchOutputWithContext(ctx context.Context) GetUserSearchOutput

func (GetUserSearchOutput) Value added in v1.4.0

Value to compare with.

type GetUsersArgs

type GetUsersArgs struct {
	// Map of search criteria to use to find users. It supports the following properties.
	Searches []GetUsersSearch `pulumi:"searches"`
	Users    []GetUsersUser   `pulumi:"users"`
}

A collection of arguments for invoking getUsers.

type GetUsersResult

type GetUsersResult struct {
	// id is the provider-assigned unique ID for this managed resource.
	Id       string           `pulumi:"id"`
	Searches []GetUsersSearch `pulumi:"searches"`
	// collection of users retrieved from Okta with the following properties.
	Users []GetUsersUser `pulumi:"users"`
}

A collection of values returned by getUsers.

func GetUsers added in v1.4.0

func GetUsers(ctx *pulumi.Context, args *GetUsersArgs, opts ...pulumi.InvokeOption) (*GetUsersResult, error)

Use this data source to retrieve a list of users from Okta.

> This content is derived from https://github.com/articulate/terraform-provider-okta/blob/master/website/docs/d/users.html.markdown.

type GetUsersSearch added in v1.4.0

type GetUsersSearch struct {
	// Comparison to use.
	Comparison *string `pulumi:"comparison"`
	// Name of property to search against.
	Name string `pulumi:"name"`
	// Value to compare with.
	Value string `pulumi:"value"`
}

type GetUsersSearchArgs added in v1.4.0

type GetUsersSearchArgs struct {
	// Comparison to use.
	Comparison pulumi.StringPtrInput `pulumi:"comparison"`
	// Name of property to search against.
	Name pulumi.StringInput `pulumi:"name"`
	// Value to compare with.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetUsersSearchArgs) ElementType added in v1.4.0

func (GetUsersSearchArgs) ElementType() reflect.Type

func (GetUsersSearchArgs) ToGetUsersSearchOutput added in v1.4.0

func (i GetUsersSearchArgs) ToGetUsersSearchOutput() GetUsersSearchOutput

func (GetUsersSearchArgs) ToGetUsersSearchOutputWithContext added in v1.4.0

func (i GetUsersSearchArgs) ToGetUsersSearchOutputWithContext(ctx context.Context) GetUsersSearchOutput

type GetUsersSearchArray added in v1.4.0

type GetUsersSearchArray []GetUsersSearchInput

func (GetUsersSearchArray) ElementType added in v1.4.0

func (GetUsersSearchArray) ElementType() reflect.Type

func (GetUsersSearchArray) ToGetUsersSearchArrayOutput added in v1.4.0

func (i GetUsersSearchArray) ToGetUsersSearchArrayOutput() GetUsersSearchArrayOutput

func (GetUsersSearchArray) ToGetUsersSearchArrayOutputWithContext added in v1.4.0

func (i GetUsersSearchArray) ToGetUsersSearchArrayOutputWithContext(ctx context.Context) GetUsersSearchArrayOutput

type GetUsersSearchArrayInput added in v1.4.0

type GetUsersSearchArrayInput interface {
	pulumi.Input

	ToGetUsersSearchArrayOutput() GetUsersSearchArrayOutput
	ToGetUsersSearchArrayOutputWithContext(context.Context) GetUsersSearchArrayOutput
}

type GetUsersSearchArrayOutput added in v1.4.0

type GetUsersSearchArrayOutput struct{ *pulumi.OutputState }

func (GetUsersSearchArrayOutput) ElementType added in v1.4.0

func (GetUsersSearchArrayOutput) ElementType() reflect.Type

func (GetUsersSearchArrayOutput) Index added in v1.4.0

func (GetUsersSearchArrayOutput) ToGetUsersSearchArrayOutput added in v1.4.0

func (o GetUsersSearchArrayOutput) ToGetUsersSearchArrayOutput() GetUsersSearchArrayOutput

func (GetUsersSearchArrayOutput) ToGetUsersSearchArrayOutputWithContext added in v1.4.0

func (o GetUsersSearchArrayOutput) ToGetUsersSearchArrayOutputWithContext(ctx context.Context) GetUsersSearchArrayOutput

type GetUsersSearchInput added in v1.4.0

type GetUsersSearchInput interface {
	pulumi.Input

	ToGetUsersSearchOutput() GetUsersSearchOutput
	ToGetUsersSearchOutputWithContext(context.Context) GetUsersSearchOutput
}

type GetUsersSearchOutput added in v1.4.0

type GetUsersSearchOutput struct{ *pulumi.OutputState }

func (GetUsersSearchOutput) Comparison added in v1.4.0

Comparison to use.

func (GetUsersSearchOutput) ElementType added in v1.4.0

func (GetUsersSearchOutput) ElementType() reflect.Type

func (GetUsersSearchOutput) Name added in v1.4.0

Name of property to search against.

func (GetUsersSearchOutput) ToGetUsersSearchOutput added in v1.4.0

func (o GetUsersSearchOutput) ToGetUsersSearchOutput() GetUsersSearchOutput

func (GetUsersSearchOutput) ToGetUsersSearchOutputWithContext added in v1.4.0

func (o GetUsersSearchOutput) ToGetUsersSearchOutputWithContext(ctx context.Context) GetUsersSearchOutput

func (GetUsersSearchOutput) Value added in v1.4.0

Value to compare with.

type GetUsersUser added in v1.4.0

type GetUsersUser struct {
	// Administrator roles assigned to user.
	AdminRoles []string `pulumi:"adminRoles"`
	// user profile property.
	City string `pulumi:"city"`
	// user profile property.
	CostCenter string `pulumi:"costCenter"`
	// user profile property.
	CountryCode string `pulumi:"countryCode"`
	// raw JSON containing all custom profile attributes.
	CustomProfileAttributes string `pulumi:"customProfileAttributes"`
	// user profile property.
	Department string `pulumi:"department"`
	// user profile property.
	DisplayName string `pulumi:"displayName"`
	// user profile property.
	Division string `pulumi:"division"`
	// user profile property.
	Email string `pulumi:"email"`
	// user profile property.
	EmployeeNumber string `pulumi:"employeeNumber"`
	// user profile property.
	FirstName string `pulumi:"firstName"`
	// user profile property.
	GroupMemberships []string `pulumi:"groupMemberships"`
	// user profile property.
	HonorificPrefix string `pulumi:"honorificPrefix"`
	// user profile property.
	HonorificSuffix string `pulumi:"honorificSuffix"`
	// user profile property.
	LastName string `pulumi:"lastName"`
	// user profile property.
	Locale string `pulumi:"locale"`
	// user profile property.
	Login string `pulumi:"login"`
	// user profile property.
	Manager string `pulumi:"manager"`
	// user profile property.
	ManagerId string `pulumi:"managerId"`
	// user profile property.
	MiddleName string `pulumi:"middleName"`
	// user profile property.
	MobilePhone string `pulumi:"mobilePhone"`
	// user profile property.
	NickName string `pulumi:"nickName"`
	// user profile property.
	Organization string `pulumi:"organization"`
	// user profile property.
	PostalAddress string `pulumi:"postalAddress"`
	// user profile property.
	PreferredLanguage string `pulumi:"preferredLanguage"`
	// user profile property.
	PrimaryPhone string `pulumi:"primaryPhone"`
	// user profile property.
	ProfileUrl string `pulumi:"profileUrl"`
	// user profile property.
	SecondEmail string `pulumi:"secondEmail"`
	// user profile property.
	State string `pulumi:"state"`
	// user profile property.
	Status string `pulumi:"status"`
	// user profile property.
	StreetAddress string `pulumi:"streetAddress"`
	// user profile property.
	Timezone string `pulumi:"timezone"`
	// user profile property.
	Title string `pulumi:"title"`
	// user profile property.
	UserType string `pulumi:"userType"`
	// user profile property.
	ZipCode string `pulumi:"zipCode"`
}

type GetUsersUserArgs added in v1.4.0

type GetUsersUserArgs struct {
	// Administrator roles assigned to user.
	AdminRoles pulumi.StringArrayInput `pulumi:"adminRoles"`
	// user profile property.
	City pulumi.StringInput `pulumi:"city"`
	// user profile property.
	CostCenter pulumi.StringInput `pulumi:"costCenter"`
	// user profile property.
	CountryCode pulumi.StringInput `pulumi:"countryCode"`
	// raw JSON containing all custom profile attributes.
	CustomProfileAttributes pulumi.StringInput `pulumi:"customProfileAttributes"`
	// user profile property.
	Department pulumi.StringInput `pulumi:"department"`
	// user profile property.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// user profile property.
	Division pulumi.StringInput `pulumi:"division"`
	// user profile property.
	Email pulumi.StringInput `pulumi:"email"`
	// user profile property.
	EmployeeNumber pulumi.StringInput `pulumi:"employeeNumber"`
	// user profile property.
	FirstName pulumi.StringInput `pulumi:"firstName"`
	// user profile property.
	GroupMemberships pulumi.StringArrayInput `pulumi:"groupMemberships"`
	// user profile property.
	HonorificPrefix pulumi.StringInput `pulumi:"honorificPrefix"`
	// user profile property.
	HonorificSuffix pulumi.StringInput `pulumi:"honorificSuffix"`
	// user profile property.
	LastName pulumi.StringInput `pulumi:"lastName"`
	// user profile property.
	Locale pulumi.StringInput `pulumi:"locale"`
	// user profile property.
	Login pulumi.StringInput `pulumi:"login"`
	// user profile property.
	Manager pulumi.StringInput `pulumi:"manager"`
	// user profile property.
	ManagerId pulumi.StringInput `pulumi:"managerId"`
	// user profile property.
	MiddleName pulumi.StringInput `pulumi:"middleName"`
	// user profile property.
	MobilePhone pulumi.StringInput `pulumi:"mobilePhone"`
	// user profile property.
	NickName pulumi.StringInput `pulumi:"nickName"`
	// user profile property.
	Organization pulumi.StringInput `pulumi:"organization"`
	// user profile property.
	PostalAddress pulumi.StringInput `pulumi:"postalAddress"`
	// user profile property.
	PreferredLanguage pulumi.StringInput `pulumi:"preferredLanguage"`
	// user profile property.
	PrimaryPhone pulumi.StringInput `pulumi:"primaryPhone"`
	// user profile property.
	ProfileUrl pulumi.StringInput `pulumi:"profileUrl"`
	// user profile property.
	SecondEmail pulumi.StringInput `pulumi:"secondEmail"`
	// user profile property.
	State pulumi.StringInput `pulumi:"state"`
	// user profile property.
	Status pulumi.StringInput `pulumi:"status"`
	// user profile property.
	StreetAddress pulumi.StringInput `pulumi:"streetAddress"`
	// user profile property.
	Timezone pulumi.StringInput `pulumi:"timezone"`
	// user profile property.
	Title pulumi.StringInput `pulumi:"title"`
	// user profile property.
	UserType pulumi.StringInput `pulumi:"userType"`
	// user profile property.
	ZipCode pulumi.StringInput `pulumi:"zipCode"`
}

func (GetUsersUserArgs) ElementType added in v1.4.0

func (GetUsersUserArgs) ElementType() reflect.Type

func (GetUsersUserArgs) ToGetUsersUserOutput added in v1.4.0

func (i GetUsersUserArgs) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserArgs) ToGetUsersUserOutputWithContext added in v1.4.0

func (i GetUsersUserArgs) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

type GetUsersUserArray added in v1.4.0

type GetUsersUserArray []GetUsersUserInput

func (GetUsersUserArray) ElementType added in v1.4.0

func (GetUsersUserArray) ElementType() reflect.Type

func (GetUsersUserArray) ToGetUsersUserArrayOutput added in v1.4.0

func (i GetUsersUserArray) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArray) ToGetUsersUserArrayOutputWithContext added in v1.4.0

func (i GetUsersUserArray) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserArrayInput added in v1.4.0

type GetUsersUserArrayInput interface {
	pulumi.Input

	ToGetUsersUserArrayOutput() GetUsersUserArrayOutput
	ToGetUsersUserArrayOutputWithContext(context.Context) GetUsersUserArrayOutput
}

type GetUsersUserArrayOutput added in v1.4.0

type GetUsersUserArrayOutput struct{ *pulumi.OutputState }

func (GetUsersUserArrayOutput) ElementType added in v1.4.0

func (GetUsersUserArrayOutput) ElementType() reflect.Type

func (GetUsersUserArrayOutput) Index added in v1.4.0

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutput added in v1.4.0

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext added in v1.4.0

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserInput added in v1.4.0

type GetUsersUserInput interface {
	pulumi.Input

	ToGetUsersUserOutput() GetUsersUserOutput
	ToGetUsersUserOutputWithContext(context.Context) GetUsersUserOutput
}

type GetUsersUserOutput added in v1.4.0

type GetUsersUserOutput struct{ *pulumi.OutputState }

func (GetUsersUserOutput) AdminRoles added in v1.4.0

Administrator roles assigned to user.

func (GetUsersUserOutput) City added in v1.4.0

user profile property.

func (GetUsersUserOutput) CostCenter added in v1.4.0

func (o GetUsersUserOutput) CostCenter() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) CountryCode added in v1.4.0

func (o GetUsersUserOutput) CountryCode() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) CustomProfileAttributes added in v1.4.0

func (o GetUsersUserOutput) CustomProfileAttributes() pulumi.StringOutput

raw JSON containing all custom profile attributes.

func (GetUsersUserOutput) Department added in v1.4.0

func (o GetUsersUserOutput) Department() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) DisplayName added in v1.4.0

func (o GetUsersUserOutput) DisplayName() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) Division added in v1.4.0

func (o GetUsersUserOutput) Division() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) ElementType added in v1.4.0

func (GetUsersUserOutput) ElementType() reflect.Type

func (GetUsersUserOutput) Email added in v1.4.0

user profile property.

func (GetUsersUserOutput) EmployeeNumber added in v1.4.0

func (o GetUsersUserOutput) EmployeeNumber() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) FirstName added in v1.4.0

func (o GetUsersUserOutput) FirstName() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) GroupMemberships added in v1.4.0

func (o GetUsersUserOutput) GroupMemberships() pulumi.StringArrayOutput

user profile property.

func (GetUsersUserOutput) HonorificPrefix added in v1.4.0

func (o GetUsersUserOutput) HonorificPrefix() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) HonorificSuffix added in v1.4.0

func (o GetUsersUserOutput) HonorificSuffix() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) LastName added in v1.4.0

func (o GetUsersUserOutput) LastName() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) Locale added in v1.4.0

user profile property.

func (GetUsersUserOutput) Login added in v1.4.0

user profile property.

func (GetUsersUserOutput) Manager added in v1.4.0

user profile property.

func (GetUsersUserOutput) ManagerId added in v1.4.0

func (o GetUsersUserOutput) ManagerId() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) MiddleName added in v1.4.0

func (o GetUsersUserOutput) MiddleName() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) MobilePhone added in v1.4.0

func (o GetUsersUserOutput) MobilePhone() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) NickName added in v1.4.0

func (o GetUsersUserOutput) NickName() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) Organization added in v1.4.0

func (o GetUsersUserOutput) Organization() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) PostalAddress added in v1.4.0

func (o GetUsersUserOutput) PostalAddress() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) PreferredLanguage added in v1.4.0

func (o GetUsersUserOutput) PreferredLanguage() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) PrimaryPhone added in v1.4.0

func (o GetUsersUserOutput) PrimaryPhone() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) ProfileUrl added in v1.4.0

func (o GetUsersUserOutput) ProfileUrl() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) SecondEmail added in v1.4.0

func (o GetUsersUserOutput) SecondEmail() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) State added in v1.4.0

user profile property.

func (GetUsersUserOutput) Status added in v1.4.0

user profile property.

func (GetUsersUserOutput) StreetAddress added in v1.4.0

func (o GetUsersUserOutput) StreetAddress() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) Timezone added in v1.4.0

func (o GetUsersUserOutput) Timezone() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) Title added in v1.4.0

user profile property.

func (GetUsersUserOutput) ToGetUsersUserOutput added in v1.4.0

func (o GetUsersUserOutput) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserOutput) ToGetUsersUserOutputWithContext added in v1.4.0

func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

func (GetUsersUserOutput) UserType added in v1.4.0

func (o GetUsersUserOutput) UserType() pulumi.StringOutput

user profile property.

func (GetUsersUserOutput) ZipCode added in v1.4.0

user profile property.

type LookupUserArgs added in v1.4.0

type LookupUserArgs struct {
	// Map of search criteria. It supports the following properties.
	Searches []GetUserSearch `pulumi:"searches"`
}

A collection of arguments for invoking getUser.

type LookupUserResult added in v1.4.0

type LookupUserResult struct {
	// Administrator roles assigned to user.
	AdminRoles []string `pulumi:"adminRoles"`
	// user profile property.
	City string `pulumi:"city"`
	// user profile property.
	CostCenter string `pulumi:"costCenter"`
	// user profile property.
	CountryCode string `pulumi:"countryCode"`
	// raw JSON containing all custom profile attributes.
	CustomProfileAttributes string `pulumi:"customProfileAttributes"`
	// user profile property.
	Department string `pulumi:"department"`
	// user profile property.
	DisplayName string `pulumi:"displayName"`
	// user profile property.
	Division string `pulumi:"division"`
	// user profile property.
	Email string `pulumi:"email"`
	// user profile property.
	EmployeeNumber string `pulumi:"employeeNumber"`
	// user profile property.
	FirstName string `pulumi:"firstName"`
	// user profile property.
	GroupMemberships []string `pulumi:"groupMemberships"`
	// user profile property.
	HonorificPrefix string `pulumi:"honorificPrefix"`
	// user profile property.
	HonorificSuffix string `pulumi:"honorificSuffix"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// user profile property.
	LastName string `pulumi:"lastName"`
	// user profile property.
	Locale string `pulumi:"locale"`
	// user profile property.
	Login string `pulumi:"login"`
	// user profile property.
	Manager string `pulumi:"manager"`
	// user profile property.
	ManagerId string `pulumi:"managerId"`
	// user profile property.
	MiddleName string `pulumi:"middleName"`
	// user profile property.
	MobilePhone string `pulumi:"mobilePhone"`
	// user profile property.
	NickName string `pulumi:"nickName"`
	// user profile property.
	Organization string `pulumi:"organization"`
	// user profile property.
	PostalAddress string `pulumi:"postalAddress"`
	// user profile property.
	PreferredLanguage string `pulumi:"preferredLanguage"`
	// user profile property.
	PrimaryPhone string `pulumi:"primaryPhone"`
	// user profile property.
	ProfileUrl string          `pulumi:"profileUrl"`
	Searches   []GetUserSearch `pulumi:"searches"`
	// user profile property.
	SecondEmail string `pulumi:"secondEmail"`
	// user profile property.
	State string `pulumi:"state"`
	// user profile property.
	Status string `pulumi:"status"`
	// user profile property.
	StreetAddress string `pulumi:"streetAddress"`
	// user profile property.
	Timezone string `pulumi:"timezone"`
	// user profile property.
	Title string `pulumi:"title"`
	// user profile property.
	UserType string `pulumi:"userType"`
	// user profile property.
	ZipCode string `pulumi:"zipCode"`
}

A collection of values returned by getUser.

func LookupUser

func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error)

Use this data source to retrieve a users from Okta.

> This content is derived from https://github.com/articulate/terraform-provider-okta/blob/master/website/docs/d/user.html.markdown.

type Schema

type Schema struct {
	pulumi.CustomResourceState

	// Array of values that an array property's items can be set to.
	ArrayEnums pulumi.StringArrayOutput `pulumi:"arrayEnums"`
	// Display name and value an enum array can be set to.
	ArrayOneOfs SchemaArrayOneOfArrayOutput `pulumi:"arrayOneOfs"`
	// The type of the array elements if `type` is set to `"array"`.
	ArrayType pulumi.StringPtrOutput `pulumi:"arrayType"`
	// The description of the user schema property.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Array of values a primitive property can be set to. See `arrayEnum` for arrays.
	Enums pulumi.StringArrayOutput `pulumi:"enums"`
	// External name of the user schema property.
	ExternalName pulumi.StringPtrOutput `pulumi:"externalName"`
	// The property name.
	Index pulumi.StringOutput `pulumi:"index"`
	// Master priority for the user schema property. It can be set to `"PROFILE_MASTER"` or `"OKTA"`.
	Master pulumi.StringPtrOutput `pulumi:"master"`
	// The maximum length of the user property value. Only applies to type `"string"`.
	MaxLength pulumi.IntPtrOutput `pulumi:"maxLength"`
	// The minimum length of the user property value. Only applies to type `"string"`.
	MinLength pulumi.IntPtrOutput `pulumi:"minLength"`
	// Array of maps containing a mapping for display name to enum value.
	OneOfs SchemaOneOfArrayOutput `pulumi:"oneOfs"`
	// Access control permissions for the property. It can be set to `"READ_WRITE"`, `"READ_ONLY"`, `"HIDE"`.
	Permissions pulumi.StringPtrOutput `pulumi:"permissions"`
	// Whether the property is required for this application's users.
	Required pulumi.BoolPtrOutput `pulumi:"required"`
	// determines whether an app user attribute can be set at the Individual or Group Level.
	Scope pulumi.StringPtrOutput `pulumi:"scope"`
	// display name for the enum value.
	Title pulumi.StringOutput `pulumi:"title"`
	// The type of the schema property. It can be `"string"`, `"boolean"`, `"number"`, `"integer"`, `"array"`, or `"object"`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Creates a User Schema property.

This resource allows you to create and configure a custom user schema property.

> This content is derived from https://github.com/articulate/terraform-provider-okta/blob/master/website/docs/r/user_schema.html.markdown.

func GetSchema

func GetSchema(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SchemaState, opts ...pulumi.ResourceOption) (*Schema, error)

GetSchema gets an existing Schema resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSchema

func NewSchema(ctx *pulumi.Context,
	name string, args *SchemaArgs, opts ...pulumi.ResourceOption) (*Schema, error)

NewSchema registers a new resource with the given unique name, arguments, and options.

type SchemaArgs

type SchemaArgs struct {
	// Array of values that an array property's items can be set to.
	ArrayEnums pulumi.StringArrayInput
	// Display name and value an enum array can be set to.
	ArrayOneOfs SchemaArrayOneOfArrayInput
	// The type of the array elements if `type` is set to `"array"`.
	ArrayType pulumi.StringPtrInput
	// The description of the user schema property.
	Description pulumi.StringPtrInput
	// Array of values a primitive property can be set to. See `arrayEnum` for arrays.
	Enums pulumi.StringArrayInput
	// External name of the user schema property.
	ExternalName pulumi.StringPtrInput
	// The property name.
	Index pulumi.StringInput
	// Master priority for the user schema property. It can be set to `"PROFILE_MASTER"` or `"OKTA"`.
	Master pulumi.StringPtrInput
	// The maximum length of the user property value. Only applies to type `"string"`.
	MaxLength pulumi.IntPtrInput
	// The minimum length of the user property value. Only applies to type `"string"`.
	MinLength pulumi.IntPtrInput
	// Array of maps containing a mapping for display name to enum value.
	OneOfs SchemaOneOfArrayInput
	// Access control permissions for the property. It can be set to `"READ_WRITE"`, `"READ_ONLY"`, `"HIDE"`.
	Permissions pulumi.StringPtrInput
	// Whether the property is required for this application's users.
	Required pulumi.BoolPtrInput
	// determines whether an app user attribute can be set at the Individual or Group Level.
	Scope pulumi.StringPtrInput
	// display name for the enum value.
	Title pulumi.StringInput
	// The type of the schema property. It can be `"string"`, `"boolean"`, `"number"`, `"integer"`, `"array"`, or `"object"`.
	Type pulumi.StringInput
}

The set of arguments for constructing a Schema resource.

func (SchemaArgs) ElementType added in v1.4.0

func (SchemaArgs) ElementType() reflect.Type

type SchemaArrayOneOf added in v1.4.0

type SchemaArrayOneOf struct {
	// value mapping to member of `enum`.
	Const string `pulumi:"const"`
	// display name for the enum value.
	Title string `pulumi:"title"`
}

type SchemaArrayOneOfArgs added in v1.4.0

type SchemaArrayOneOfArgs struct {
	// value mapping to member of `enum`.
	Const pulumi.StringInput `pulumi:"const"`
	// display name for the enum value.
	Title pulumi.StringInput `pulumi:"title"`
}

func (SchemaArrayOneOfArgs) ElementType added in v1.4.0

func (SchemaArrayOneOfArgs) ElementType() reflect.Type

func (SchemaArrayOneOfArgs) ToSchemaArrayOneOfOutput added in v1.4.0

func (i SchemaArrayOneOfArgs) ToSchemaArrayOneOfOutput() SchemaArrayOneOfOutput

func (SchemaArrayOneOfArgs) ToSchemaArrayOneOfOutputWithContext added in v1.4.0

func (i SchemaArrayOneOfArgs) ToSchemaArrayOneOfOutputWithContext(ctx context.Context) SchemaArrayOneOfOutput

type SchemaArrayOneOfArray added in v1.4.0

type SchemaArrayOneOfArray []SchemaArrayOneOfInput

func (SchemaArrayOneOfArray) ElementType added in v1.4.0

func (SchemaArrayOneOfArray) ElementType() reflect.Type

func (SchemaArrayOneOfArray) ToSchemaArrayOneOfArrayOutput added in v1.4.0

func (i SchemaArrayOneOfArray) ToSchemaArrayOneOfArrayOutput() SchemaArrayOneOfArrayOutput

func (SchemaArrayOneOfArray) ToSchemaArrayOneOfArrayOutputWithContext added in v1.4.0

func (i SchemaArrayOneOfArray) ToSchemaArrayOneOfArrayOutputWithContext(ctx context.Context) SchemaArrayOneOfArrayOutput

type SchemaArrayOneOfArrayInput added in v1.4.0

type SchemaArrayOneOfArrayInput interface {
	pulumi.Input

	ToSchemaArrayOneOfArrayOutput() SchemaArrayOneOfArrayOutput
	ToSchemaArrayOneOfArrayOutputWithContext(context.Context) SchemaArrayOneOfArrayOutput
}

type SchemaArrayOneOfArrayOutput added in v1.4.0

type SchemaArrayOneOfArrayOutput struct{ *pulumi.OutputState }

func (SchemaArrayOneOfArrayOutput) ElementType added in v1.4.0

func (SchemaArrayOneOfArrayOutput) Index added in v1.4.0

func (SchemaArrayOneOfArrayOutput) ToSchemaArrayOneOfArrayOutput added in v1.4.0

func (o SchemaArrayOneOfArrayOutput) ToSchemaArrayOneOfArrayOutput() SchemaArrayOneOfArrayOutput

func (SchemaArrayOneOfArrayOutput) ToSchemaArrayOneOfArrayOutputWithContext added in v1.4.0

func (o SchemaArrayOneOfArrayOutput) ToSchemaArrayOneOfArrayOutputWithContext(ctx context.Context) SchemaArrayOneOfArrayOutput

type SchemaArrayOneOfInput added in v1.4.0

type SchemaArrayOneOfInput interface {
	pulumi.Input

	ToSchemaArrayOneOfOutput() SchemaArrayOneOfOutput
	ToSchemaArrayOneOfOutputWithContext(context.Context) SchemaArrayOneOfOutput
}

type SchemaArrayOneOfOutput added in v1.4.0

type SchemaArrayOneOfOutput struct{ *pulumi.OutputState }

func (SchemaArrayOneOfOutput) Const added in v1.4.0

value mapping to member of `enum`.

func (SchemaArrayOneOfOutput) ElementType added in v1.4.0

func (SchemaArrayOneOfOutput) ElementType() reflect.Type

func (SchemaArrayOneOfOutput) Title added in v1.4.0

display name for the enum value.

func (SchemaArrayOneOfOutput) ToSchemaArrayOneOfOutput added in v1.4.0

func (o SchemaArrayOneOfOutput) ToSchemaArrayOneOfOutput() SchemaArrayOneOfOutput

func (SchemaArrayOneOfOutput) ToSchemaArrayOneOfOutputWithContext added in v1.4.0

func (o SchemaArrayOneOfOutput) ToSchemaArrayOneOfOutputWithContext(ctx context.Context) SchemaArrayOneOfOutput

type SchemaOneOf added in v1.4.0

type SchemaOneOf struct {
	// value mapping to member of `enum`.
	Const string `pulumi:"const"`
	// display name for the enum value.
	Title string `pulumi:"title"`
}

type SchemaOneOfArgs added in v1.4.0

type SchemaOneOfArgs struct {
	// value mapping to member of `enum`.
	Const pulumi.StringInput `pulumi:"const"`
	// display name for the enum value.
	Title pulumi.StringInput `pulumi:"title"`
}

func (SchemaOneOfArgs) ElementType added in v1.4.0

func (SchemaOneOfArgs) ElementType() reflect.Type

func (SchemaOneOfArgs) ToSchemaOneOfOutput added in v1.4.0

func (i SchemaOneOfArgs) ToSchemaOneOfOutput() SchemaOneOfOutput

func (SchemaOneOfArgs) ToSchemaOneOfOutputWithContext added in v1.4.0

func (i SchemaOneOfArgs) ToSchemaOneOfOutputWithContext(ctx context.Context) SchemaOneOfOutput

type SchemaOneOfArray added in v1.4.0

type SchemaOneOfArray []SchemaOneOfInput

func (SchemaOneOfArray) ElementType added in v1.4.0

func (SchemaOneOfArray) ElementType() reflect.Type

func (SchemaOneOfArray) ToSchemaOneOfArrayOutput added in v1.4.0

func (i SchemaOneOfArray) ToSchemaOneOfArrayOutput() SchemaOneOfArrayOutput

func (SchemaOneOfArray) ToSchemaOneOfArrayOutputWithContext added in v1.4.0

func (i SchemaOneOfArray) ToSchemaOneOfArrayOutputWithContext(ctx context.Context) SchemaOneOfArrayOutput

type SchemaOneOfArrayInput added in v1.4.0

type SchemaOneOfArrayInput interface {
	pulumi.Input

	ToSchemaOneOfArrayOutput() SchemaOneOfArrayOutput
	ToSchemaOneOfArrayOutputWithContext(context.Context) SchemaOneOfArrayOutput
}

type SchemaOneOfArrayOutput added in v1.4.0

type SchemaOneOfArrayOutput struct{ *pulumi.OutputState }

func (SchemaOneOfArrayOutput) ElementType added in v1.4.0

func (SchemaOneOfArrayOutput) ElementType() reflect.Type

func (SchemaOneOfArrayOutput) Index added in v1.4.0

func (SchemaOneOfArrayOutput) ToSchemaOneOfArrayOutput added in v1.4.0

func (o SchemaOneOfArrayOutput) ToSchemaOneOfArrayOutput() SchemaOneOfArrayOutput

func (SchemaOneOfArrayOutput) ToSchemaOneOfArrayOutputWithContext added in v1.4.0

func (o SchemaOneOfArrayOutput) ToSchemaOneOfArrayOutputWithContext(ctx context.Context) SchemaOneOfArrayOutput

type SchemaOneOfInput added in v1.4.0

type SchemaOneOfInput interface {
	pulumi.Input

	ToSchemaOneOfOutput() SchemaOneOfOutput
	ToSchemaOneOfOutputWithContext(context.Context) SchemaOneOfOutput
}

type SchemaOneOfOutput added in v1.4.0

type SchemaOneOfOutput struct{ *pulumi.OutputState }

func (SchemaOneOfOutput) Const added in v1.4.0

value mapping to member of `enum`.

func (SchemaOneOfOutput) ElementType added in v1.4.0

func (SchemaOneOfOutput) ElementType() reflect.Type

func (SchemaOneOfOutput) Title added in v1.4.0

display name for the enum value.

func (SchemaOneOfOutput) ToSchemaOneOfOutput added in v1.4.0

func (o SchemaOneOfOutput) ToSchemaOneOfOutput() SchemaOneOfOutput

func (SchemaOneOfOutput) ToSchemaOneOfOutputWithContext added in v1.4.0

func (o SchemaOneOfOutput) ToSchemaOneOfOutputWithContext(ctx context.Context) SchemaOneOfOutput

type SchemaState

type SchemaState struct {
	// Array of values that an array property's items can be set to.
	ArrayEnums pulumi.StringArrayInput
	// Display name and value an enum array can be set to.
	ArrayOneOfs SchemaArrayOneOfArrayInput
	// The type of the array elements if `type` is set to `"array"`.
	ArrayType pulumi.StringPtrInput
	// The description of the user schema property.
	Description pulumi.StringPtrInput
	// Array of values a primitive property can be set to. See `arrayEnum` for arrays.
	Enums pulumi.StringArrayInput
	// External name of the user schema property.
	ExternalName pulumi.StringPtrInput
	// The property name.
	Index pulumi.StringPtrInput
	// Master priority for the user schema property. It can be set to `"PROFILE_MASTER"` or `"OKTA"`.
	Master pulumi.StringPtrInput
	// The maximum length of the user property value. Only applies to type `"string"`.
	MaxLength pulumi.IntPtrInput
	// The minimum length of the user property value. Only applies to type `"string"`.
	MinLength pulumi.IntPtrInput
	// Array of maps containing a mapping for display name to enum value.
	OneOfs SchemaOneOfArrayInput
	// Access control permissions for the property. It can be set to `"READ_WRITE"`, `"READ_ONLY"`, `"HIDE"`.
	Permissions pulumi.StringPtrInput
	// Whether the property is required for this application's users.
	Required pulumi.BoolPtrInput
	// determines whether an app user attribute can be set at the Individual or Group Level.
	Scope pulumi.StringPtrInput
	// display name for the enum value.
	Title pulumi.StringPtrInput
	// The type of the schema property. It can be `"string"`, `"boolean"`, `"number"`, `"integer"`, `"array"`, or `"object"`.
	Type pulumi.StringPtrInput
}

func (SchemaState) ElementType added in v1.4.0

func (SchemaState) ElementType() reflect.Type

type User

type User struct {
	pulumi.CustomResourceState

	// Administrator roles assigned to User.
	AdminRoles pulumi.StringArrayOutput `pulumi:"adminRoles"`
	// User profile property.
	City pulumi.StringPtrOutput `pulumi:"city"`
	// User profile property.
	CostCenter pulumi.StringPtrOutput `pulumi:"costCenter"`
	// User profile property.
	CountryCode pulumi.StringPtrOutput `pulumi:"countryCode"`
	// raw JSON containing all custom profile attributes.
	CustomProfileAttributes pulumi.StringPtrOutput `pulumi:"customProfileAttributes"`
	// User profile property.
	Department pulumi.StringPtrOutput `pulumi:"department"`
	// User profile property.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// User profile property.
	Division pulumi.StringPtrOutput `pulumi:"division"`
	// User profile property.
	Email pulumi.StringOutput `pulumi:"email"`
	// User profile property.
	EmployeeNumber pulumi.StringPtrOutput `pulumi:"employeeNumber"`
	// User's First Name, required by default.
	FirstName pulumi.StringOutput `pulumi:"firstName"`
	// User profile property.
	GroupMemberships pulumi.StringArrayOutput `pulumi:"groupMemberships"`
	// User profile property.
	HonorificPrefix pulumi.StringPtrOutput `pulumi:"honorificPrefix"`
	// User profile property.
	HonorificSuffix pulumi.StringPtrOutput `pulumi:"honorificSuffix"`
	// User's Last Name, required by default.
	LastName pulumi.StringOutput `pulumi:"lastName"`
	// User profile property.
	Locale pulumi.StringPtrOutput `pulumi:"locale"`
	// User profile property.
	Login pulumi.StringOutput `pulumi:"login"`
	// User profile property.
	Manager pulumi.StringPtrOutput `pulumi:"manager"`
	// User profile property.
	ManagerId pulumi.StringPtrOutput `pulumi:"managerId"`
	// User profile property.
	MiddleName pulumi.StringPtrOutput `pulumi:"middleName"`
	// User profile property.
	MobilePhone pulumi.StringPtrOutput `pulumi:"mobilePhone"`
	// User profile property.
	NickName pulumi.StringPtrOutput `pulumi:"nickName"`
	// User profile property.
	Organization pulumi.StringPtrOutput `pulumi:"organization"`
	// User password.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// User profile property.
	PostalAddress pulumi.StringPtrOutput `pulumi:"postalAddress"`
	// User profile property.
	PreferredLanguage pulumi.StringPtrOutput `pulumi:"preferredLanguage"`
	// User profile property.
	PrimaryPhone pulumi.StringPtrOutput `pulumi:"primaryPhone"`
	// User profile property.
	ProfileUrl pulumi.StringPtrOutput `pulumi:"profileUrl"`
	// The raw status of the User in Okta - (status is mapped)
	RawStatus pulumi.StringOutput `pulumi:"rawStatus"`
	// User password recovery answer.
	RecoveryAnswer pulumi.StringPtrOutput `pulumi:"recoveryAnswer"`
	// User password recovery question.
	RecoveryQuestion pulumi.StringPtrOutput `pulumi:"recoveryQuestion"`
	// User profile property.
	SecondEmail pulumi.StringPtrOutput `pulumi:"secondEmail"`
	// User profile property.
	State pulumi.StringPtrOutput `pulumi:"state"`
	// User profile property.
	Status pulumi.StringPtrOutput `pulumi:"status"`
	// User profile property.
	StreetAddress pulumi.StringPtrOutput `pulumi:"streetAddress"`
	// User profile property.
	Timezone pulumi.StringPtrOutput `pulumi:"timezone"`
	// User profile property.
	Title pulumi.StringPtrOutput `pulumi:"title"`
	// User profile property.
	UserType pulumi.StringPtrOutput `pulumi:"userType"`
	// User profile property.
	ZipCode pulumi.StringPtrOutput `pulumi:"zipCode"`
}

Creates an Okta User.

This resource allows you to create and configure an Okta User.

> This content is derived from https://github.com/articulate/terraform-provider-okta/blob/master/website/docs/r/user.html.markdown.

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

NewUser registers a new resource with the given unique name, arguments, and options.

type UserArgs

type UserArgs struct {
	// Administrator roles assigned to User.
	AdminRoles pulumi.StringArrayInput
	// User profile property.
	City pulumi.StringPtrInput
	// User profile property.
	CostCenter pulumi.StringPtrInput
	// User profile property.
	CountryCode pulumi.StringPtrInput
	// raw JSON containing all custom profile attributes.
	CustomProfileAttributes pulumi.StringPtrInput
	// User profile property.
	Department pulumi.StringPtrInput
	// User profile property.
	DisplayName pulumi.StringPtrInput
	// User profile property.
	Division pulumi.StringPtrInput
	// User profile property.
	Email pulumi.StringInput
	// User profile property.
	EmployeeNumber pulumi.StringPtrInput
	// User's First Name, required by default.
	FirstName pulumi.StringInput
	// User profile property.
	GroupMemberships pulumi.StringArrayInput
	// User profile property.
	HonorificPrefix pulumi.StringPtrInput
	// User profile property.
	HonorificSuffix pulumi.StringPtrInput
	// User's Last Name, required by default.
	LastName pulumi.StringInput
	// User profile property.
	Locale pulumi.StringPtrInput
	// User profile property.
	Login pulumi.StringInput
	// User profile property.
	Manager pulumi.StringPtrInput
	// User profile property.
	ManagerId pulumi.StringPtrInput
	// User profile property.
	MiddleName pulumi.StringPtrInput
	// User profile property.
	MobilePhone pulumi.StringPtrInput
	// User profile property.
	NickName pulumi.StringPtrInput
	// User profile property.
	Organization pulumi.StringPtrInput
	// User password.
	Password pulumi.StringPtrInput
	// User profile property.
	PostalAddress pulumi.StringPtrInput
	// User profile property.
	PreferredLanguage pulumi.StringPtrInput
	// User profile property.
	PrimaryPhone pulumi.StringPtrInput
	// User profile property.
	ProfileUrl pulumi.StringPtrInput
	// User password recovery answer.
	RecoveryAnswer pulumi.StringPtrInput
	// User password recovery question.
	RecoveryQuestion pulumi.StringPtrInput
	// User profile property.
	SecondEmail pulumi.StringPtrInput
	// User profile property.
	State pulumi.StringPtrInput
	// User profile property.
	Status pulumi.StringPtrInput
	// User profile property.
	StreetAddress pulumi.StringPtrInput
	// User profile property.
	Timezone pulumi.StringPtrInput
	// User profile property.
	Title pulumi.StringPtrInput
	// User profile property.
	UserType pulumi.StringPtrInput
	// User profile property.
	ZipCode pulumi.StringPtrInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType added in v1.4.0

func (UserArgs) ElementType() reflect.Type

type UserState

type UserState struct {
	// Administrator roles assigned to User.
	AdminRoles pulumi.StringArrayInput
	// User profile property.
	City pulumi.StringPtrInput
	// User profile property.
	CostCenter pulumi.StringPtrInput
	// User profile property.
	CountryCode pulumi.StringPtrInput
	// raw JSON containing all custom profile attributes.
	CustomProfileAttributes pulumi.StringPtrInput
	// User profile property.
	Department pulumi.StringPtrInput
	// User profile property.
	DisplayName pulumi.StringPtrInput
	// User profile property.
	Division pulumi.StringPtrInput
	// User profile property.
	Email pulumi.StringPtrInput
	// User profile property.
	EmployeeNumber pulumi.StringPtrInput
	// User's First Name, required by default.
	FirstName pulumi.StringPtrInput
	// User profile property.
	GroupMemberships pulumi.StringArrayInput
	// User profile property.
	HonorificPrefix pulumi.StringPtrInput
	// User profile property.
	HonorificSuffix pulumi.StringPtrInput
	// User's Last Name, required by default.
	LastName pulumi.StringPtrInput
	// User profile property.
	Locale pulumi.StringPtrInput
	// User profile property.
	Login pulumi.StringPtrInput
	// User profile property.
	Manager pulumi.StringPtrInput
	// User profile property.
	ManagerId pulumi.StringPtrInput
	// User profile property.
	MiddleName pulumi.StringPtrInput
	// User profile property.
	MobilePhone pulumi.StringPtrInput
	// User profile property.
	NickName pulumi.StringPtrInput
	// User profile property.
	Organization pulumi.StringPtrInput
	// User password.
	Password pulumi.StringPtrInput
	// User profile property.
	PostalAddress pulumi.StringPtrInput
	// User profile property.
	PreferredLanguage pulumi.StringPtrInput
	// User profile property.
	PrimaryPhone pulumi.StringPtrInput
	// User profile property.
	ProfileUrl pulumi.StringPtrInput
	// The raw status of the User in Okta - (status is mapped)
	RawStatus pulumi.StringPtrInput
	// User password recovery answer.
	RecoveryAnswer pulumi.StringPtrInput
	// User password recovery question.
	RecoveryQuestion pulumi.StringPtrInput
	// User profile property.
	SecondEmail pulumi.StringPtrInput
	// User profile property.
	State pulumi.StringPtrInput
	// User profile property.
	Status pulumi.StringPtrInput
	// User profile property.
	StreetAddress pulumi.StringPtrInput
	// User profile property.
	Timezone pulumi.StringPtrInput
	// User profile property.
	Title pulumi.StringPtrInput
	// User profile property.
	UserType pulumi.StringPtrInput
	// User profile property.
	ZipCode pulumi.StringPtrInput
}

func (UserState) ElementType added in v1.4.0

func (UserState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL