onelogin.SelfRegistrationProfiles
Explore with Pulumi AI
# onelogin.SelfRegistrationProfiles Resource
This resource allows you to create and configure Self-Registration Profiles in OneLogin.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as onelogin from "@pulumi/onelogin";
const example = new onelogin.SelfRegistrationProfiles("example", {
defaultGroupId: 789012,
defaultRoleId: 123456,
domainBlacklist: "spam.com, banned.com",
domainListStrategy: 1,
domainWhitelist: "example.com, trusted.com",
emailVerificationType: "Email MagicLink",
enabled: true,
fields: [
{
customAttributeId: 12345,
},
{
customAttributeId: 67890,
},
],
helptext: "Welcome to our community. Please follow the guidelines.",
moderated: false,
thankyouMessage: "Thank you for joining!",
url: "example-profile",
});
import pulumi
import pulumi_onelogin as onelogin
example = onelogin.SelfRegistrationProfiles("example",
default_group_id=789012,
default_role_id=123456,
domain_blacklist="spam.com, banned.com",
domain_list_strategy=1,
domain_whitelist="example.com, trusted.com",
email_verification_type="Email MagicLink",
enabled=True,
fields=[
{
"custom_attribute_id": 12345,
},
{
"custom_attribute_id": 67890,
},
],
helptext="Welcome to our community. Please follow the guidelines.",
moderated=False,
thankyou_message="Thank you for joining!",
url="example-profile")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/onelogin/onelogin"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := onelogin.NewSelfRegistrationProfiles(ctx, "example", &onelogin.SelfRegistrationProfilesArgs{
DefaultGroupId: pulumi.Float64(789012),
DefaultRoleId: pulumi.Float64(123456),
DomainBlacklist: pulumi.String("spam.com, banned.com"),
DomainListStrategy: pulumi.Float64(1),
DomainWhitelist: pulumi.String("example.com, trusted.com"),
EmailVerificationType: pulumi.String("Email MagicLink"),
Enabled: pulumi.Bool(true),
Fields: onelogin.SelfRegistrationProfilesFieldArray{
&onelogin.SelfRegistrationProfilesFieldArgs{
CustomAttributeId: pulumi.Float64(12345),
},
&onelogin.SelfRegistrationProfilesFieldArgs{
CustomAttributeId: pulumi.Float64(67890),
},
},
Helptext: pulumi.String("Welcome to our community. Please follow the guidelines."),
Moderated: pulumi.Bool(false),
ThankyouMessage: pulumi.String("Thank you for joining!"),
Url: pulumi.String("example-profile"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Onelogin = Pulumi.Onelogin;
return await Deployment.RunAsync(() =>
{
var example = new Onelogin.SelfRegistrationProfiles("example", new()
{
DefaultGroupId = 789012,
DefaultRoleId = 123456,
DomainBlacklist = "spam.com, banned.com",
DomainListStrategy = 1,
DomainWhitelist = "example.com, trusted.com",
EmailVerificationType = "Email MagicLink",
Enabled = true,
Fields = new[]
{
new Onelogin.Inputs.SelfRegistrationProfilesFieldArgs
{
CustomAttributeId = 12345,
},
new Onelogin.Inputs.SelfRegistrationProfilesFieldArgs
{
CustomAttributeId = 67890,
},
},
Helptext = "Welcome to our community. Please follow the guidelines.",
Moderated = false,
ThankyouMessage = "Thank you for joining!",
Url = "example-profile",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.onelogin.SelfRegistrationProfiles;
import com.pulumi.onelogin.SelfRegistrationProfilesArgs;
import com.pulumi.onelogin.inputs.SelfRegistrationProfilesFieldArgs;
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 SelfRegistrationProfiles("example", SelfRegistrationProfilesArgs.builder()
.defaultGroupId(789012)
.defaultRoleId(123456)
.domainBlacklist("spam.com, banned.com")
.domainListStrategy(1)
.domainWhitelist("example.com, trusted.com")
.emailVerificationType("Email MagicLink")
.enabled(true)
.fields(
SelfRegistrationProfilesFieldArgs.builder()
.customAttributeId(12345)
.build(),
SelfRegistrationProfilesFieldArgs.builder()
.customAttributeId(67890)
.build())
.helptext("Welcome to our community. Please follow the guidelines.")
.moderated(false)
.thankyouMessage("Thank you for joining!")
.url("example-profile")
.build());
}
}
resources:
example:
type: onelogin:SelfRegistrationProfiles
properties:
defaultGroupId: 789012
defaultRoleId: 123456
domainBlacklist: spam.com, banned.com
domainListStrategy: 1
domainWhitelist: example.com, trusted.com
emailVerificationType: Email MagicLink
enabled: true
fields:
- customAttributeId: 12345
- customAttributeId: 67890
helptext: Welcome to our community. Please follow the guidelines.
moderated: false
thankyouMessage: Thank you for joining!
url: example-profile
Create SelfRegistrationProfiles Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SelfRegistrationProfiles(name: string, args: SelfRegistrationProfilesArgs, opts?: CustomResourceOptions);
@overload
def SelfRegistrationProfiles(resource_name: str,
args: SelfRegistrationProfilesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SelfRegistrationProfiles(resource_name: str,
opts: Optional[ResourceOptions] = None,
url: Optional[str] = None,
enabled: Optional[bool] = None,
domain_blacklist: Optional[str] = None,
domain_list_strategy: Optional[float] = None,
domain_whitelist: Optional[str] = None,
email_verification_type: Optional[str] = None,
default_group_id: Optional[float] = None,
fields: Optional[Sequence[SelfRegistrationProfilesFieldArgs]] = None,
helptext: Optional[str] = None,
moderated: Optional[bool] = None,
name: Optional[str] = None,
self_registration_profiles_id: Optional[str] = None,
thankyou_message: Optional[str] = None,
default_role_id: Optional[float] = None)
func NewSelfRegistrationProfiles(ctx *Context, name string, args SelfRegistrationProfilesArgs, opts ...ResourceOption) (*SelfRegistrationProfiles, error)
public SelfRegistrationProfiles(string name, SelfRegistrationProfilesArgs args, CustomResourceOptions? opts = null)
public SelfRegistrationProfiles(String name, SelfRegistrationProfilesArgs args)
public SelfRegistrationProfiles(String name, SelfRegistrationProfilesArgs args, CustomResourceOptions options)
type: onelogin:SelfRegistrationProfiles
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 SelfRegistrationProfilesArgs
- 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 SelfRegistrationProfilesArgs
- 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 SelfRegistrationProfilesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SelfRegistrationProfilesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SelfRegistrationProfilesArgs
- 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 selfRegistrationProfilesResource = new Onelogin.SelfRegistrationProfiles("selfRegistrationProfilesResource", new()
{
Url = "string",
Enabled = false,
DomainBlacklist = "string",
DomainListStrategy = 0,
DomainWhitelist = "string",
EmailVerificationType = "string",
DefaultGroupId = 0,
Fields = new[]
{
new Onelogin.Inputs.SelfRegistrationProfilesFieldArgs
{
CustomAttributeId = 0,
Id = 0,
Name = "string",
},
},
Helptext = "string",
Moderated = false,
Name = "string",
SelfRegistrationProfilesId = "string",
ThankyouMessage = "string",
DefaultRoleId = 0,
});
example, err := onelogin.NewSelfRegistrationProfiles(ctx, "selfRegistrationProfilesResource", &onelogin.SelfRegistrationProfilesArgs{
Url: pulumi.String("string"),
Enabled: pulumi.Bool(false),
DomainBlacklist: pulumi.String("string"),
DomainListStrategy: pulumi.Float64(0),
DomainWhitelist: pulumi.String("string"),
EmailVerificationType: pulumi.String("string"),
DefaultGroupId: pulumi.Float64(0),
Fields: onelogin.SelfRegistrationProfilesFieldArray{
&onelogin.SelfRegistrationProfilesFieldArgs{
CustomAttributeId: pulumi.Float64(0),
Id: pulumi.Float64(0),
Name: pulumi.String("string"),
},
},
Helptext: pulumi.String("string"),
Moderated: pulumi.Bool(false),
Name: pulumi.String("string"),
SelfRegistrationProfilesId: pulumi.String("string"),
ThankyouMessage: pulumi.String("string"),
DefaultRoleId: pulumi.Float64(0),
})
var selfRegistrationProfilesResource = new SelfRegistrationProfiles("selfRegistrationProfilesResource", SelfRegistrationProfilesArgs.builder()
.url("string")
.enabled(false)
.domainBlacklist("string")
.domainListStrategy(0.0)
.domainWhitelist("string")
.emailVerificationType("string")
.defaultGroupId(0.0)
.fields(SelfRegistrationProfilesFieldArgs.builder()
.customAttributeId(0.0)
.id(0.0)
.name("string")
.build())
.helptext("string")
.moderated(false)
.name("string")
.selfRegistrationProfilesId("string")
.thankyouMessage("string")
.defaultRoleId(0.0)
.build());
self_registration_profiles_resource = onelogin.SelfRegistrationProfiles("selfRegistrationProfilesResource",
url="string",
enabled=False,
domain_blacklist="string",
domain_list_strategy=0,
domain_whitelist="string",
email_verification_type="string",
default_group_id=0,
fields=[{
"custom_attribute_id": 0,
"id": 0,
"name": "string",
}],
helptext="string",
moderated=False,
name="string",
self_registration_profiles_id="string",
thankyou_message="string",
default_role_id=0)
const selfRegistrationProfilesResource = new onelogin.SelfRegistrationProfiles("selfRegistrationProfilesResource", {
url: "string",
enabled: false,
domainBlacklist: "string",
domainListStrategy: 0,
domainWhitelist: "string",
emailVerificationType: "string",
defaultGroupId: 0,
fields: [{
customAttributeId: 0,
id: 0,
name: "string",
}],
helptext: "string",
moderated: false,
name: "string",
selfRegistrationProfilesId: "string",
thankyouMessage: "string",
defaultRoleId: 0,
});
type: onelogin:SelfRegistrationProfiles
properties:
defaultGroupId: 0
defaultRoleId: 0
domainBlacklist: string
domainListStrategy: 0
domainWhitelist: string
emailVerificationType: string
enabled: false
fields:
- customAttributeId: 0
id: 0
name: string
helptext: string
moderated: false
name: string
selfRegistrationProfilesId: string
thankyouMessage: string
url: string
SelfRegistrationProfiles 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 SelfRegistrationProfiles resource accepts the following input properties:
- Url string
- The URL path for the self-registration profile.
- Default
Group doubleId - The default group ID to assign to users who register through this profile.
- Default
Role doubleId - The default role ID to assign to users who register through this profile.
- Domain
Blacklist string - Comma-separated list of domains to blacklist.
- Domain
List doubleStrategy - Domain list strategy:
0
for blacklist,1
for whitelist. Defaults to0
. - Domain
Whitelist string - Comma-separated list of domains to whitelist.
- Email
Verification stringType - Email verification type:
Email MagicLink
orEmail OTP
. Defaults toEmail MagicLink
. - Enabled bool
- Whether the self-registration profile is enabled. Defaults to
true
. - Fields
List<Self
Registration Profiles Field> - Custom fields for the self-registration profile.
- Helptext string
- Help text displayed on the registration page.
- Moderated bool
- Whether the self-registration profile requires moderation. Defaults to
false
. - Name string
- The name of the self-registration profile.
- Self
Registration stringProfiles Id - ID of the field.
- Thankyou
Message string - Thank you message displayed after registration.
- Url string
- The URL path for the self-registration profile.
- Default
Group float64Id - The default group ID to assign to users who register through this profile.
- Default
Role float64Id - The default role ID to assign to users who register through this profile.
- Domain
Blacklist string - Comma-separated list of domains to blacklist.
- Domain
List float64Strategy - Domain list strategy:
0
for blacklist,1
for whitelist. Defaults to0
. - Domain
Whitelist string - Comma-separated list of domains to whitelist.
- Email
Verification stringType - Email verification type:
Email MagicLink
orEmail OTP
. Defaults toEmail MagicLink
. - Enabled bool
- Whether the self-registration profile is enabled. Defaults to
true
. - Fields
[]Self
Registration Profiles Field Args - Custom fields for the self-registration profile.
- Helptext string
- Help text displayed on the registration page.
- Moderated bool
- Whether the self-registration profile requires moderation. Defaults to
false
. - Name string
- The name of the self-registration profile.
- Self
Registration stringProfiles Id - ID of the field.
- Thankyou
Message string - Thank you message displayed after registration.
- url String
- The URL path for the self-registration profile.
- default
Group DoubleId - The default group ID to assign to users who register through this profile.
- default
Role DoubleId - The default role ID to assign to users who register through this profile.
- domain
Blacklist String - Comma-separated list of domains to blacklist.
- domain
List DoubleStrategy - Domain list strategy:
0
for blacklist,1
for whitelist. Defaults to0
. - domain
Whitelist String - Comma-separated list of domains to whitelist.
- email
Verification StringType - Email verification type:
Email MagicLink
orEmail OTP
. Defaults toEmail MagicLink
. - enabled Boolean
- Whether the self-registration profile is enabled. Defaults to
true
. - fields
List<Self
Registration Profiles Field> - Custom fields for the self-registration profile.
- helptext String
- Help text displayed on the registration page.
- moderated Boolean
- Whether the self-registration profile requires moderation. Defaults to
false
. - name String
- The name of the self-registration profile.
- self
Registration StringProfiles Id - ID of the field.
- thankyou
Message String - Thank you message displayed after registration.
- url string
- The URL path for the self-registration profile.
- default
Group numberId - The default group ID to assign to users who register through this profile.
- default
Role numberId - The default role ID to assign to users who register through this profile.
- domain
Blacklist string - Comma-separated list of domains to blacklist.
- domain
List numberStrategy - Domain list strategy:
0
for blacklist,1
for whitelist. Defaults to0
. - domain
Whitelist string - Comma-separated list of domains to whitelist.
- email
Verification stringType - Email verification type:
Email MagicLink
orEmail OTP
. Defaults toEmail MagicLink
. - enabled boolean
- Whether the self-registration profile is enabled. Defaults to
true
. - fields
Self
Registration Profiles Field[] - Custom fields for the self-registration profile.
- helptext string
- Help text displayed on the registration page.
- moderated boolean
- Whether the self-registration profile requires moderation. Defaults to
false
. - name string
- The name of the self-registration profile.
- self
Registration stringProfiles Id - ID of the field.
- thankyou
Message string - Thank you message displayed after registration.
- url str
- The URL path for the self-registration profile.
- default_
group_ floatid - The default group ID to assign to users who register through this profile.
- default_
role_ floatid - The default role ID to assign to users who register through this profile.
- domain_
blacklist str - Comma-separated list of domains to blacklist.
- domain_
list_ floatstrategy - Domain list strategy:
0
for blacklist,1
for whitelist. Defaults to0
. - domain_
whitelist str - Comma-separated list of domains to whitelist.
- email_
verification_ strtype - Email verification type:
Email MagicLink
orEmail OTP
. Defaults toEmail MagicLink
. - enabled bool
- Whether the self-registration profile is enabled. Defaults to
true
. - fields
Sequence[Self
Registration Profiles Field Args] - Custom fields for the self-registration profile.
- helptext str
- Help text displayed on the registration page.
- moderated bool
- Whether the self-registration profile requires moderation. Defaults to
false
. - name str
- The name of the self-registration profile.
- self_
registration_ strprofiles_ id - ID of the field.
- thankyou_
message str - Thank you message displayed after registration.
- url String
- The URL path for the self-registration profile.
- default
Group NumberId - The default group ID to assign to users who register through this profile.
- default
Role NumberId - The default role ID to assign to users who register through this profile.
- domain
Blacklist String - Comma-separated list of domains to blacklist.
- domain
List NumberStrategy - Domain list strategy:
0
for blacklist,1
for whitelist. Defaults to0
. - domain
Whitelist String - Comma-separated list of domains to whitelist.
- email
Verification StringType - Email verification type:
Email MagicLink
orEmail OTP
. Defaults toEmail MagicLink
. - enabled Boolean
- Whether the self-registration profile is enabled. Defaults to
true
. - fields List<Property Map>
- Custom fields for the self-registration profile.
- helptext String
- Help text displayed on the registration page.
- moderated Boolean
- Whether the self-registration profile requires moderation. Defaults to
false
. - name String
- The name of the self-registration profile.
- self
Registration StringProfiles Id - ID of the field.
- thankyou
Message String - Thank you message displayed after registration.
Outputs
All input properties are implicitly available as output properties. Additionally, the SelfRegistrationProfiles 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 SelfRegistrationProfiles Resource
Get an existing SelfRegistrationProfiles 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?: SelfRegistrationProfilesState, opts?: CustomResourceOptions): SelfRegistrationProfiles
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
default_group_id: Optional[float] = None,
default_role_id: Optional[float] = None,
domain_blacklist: Optional[str] = None,
domain_list_strategy: Optional[float] = None,
domain_whitelist: Optional[str] = None,
email_verification_type: Optional[str] = None,
enabled: Optional[bool] = None,
fields: Optional[Sequence[SelfRegistrationProfilesFieldArgs]] = None,
helptext: Optional[str] = None,
moderated: Optional[bool] = None,
name: Optional[str] = None,
self_registration_profiles_id: Optional[str] = None,
thankyou_message: Optional[str] = None,
url: Optional[str] = None) -> SelfRegistrationProfiles
func GetSelfRegistrationProfiles(ctx *Context, name string, id IDInput, state *SelfRegistrationProfilesState, opts ...ResourceOption) (*SelfRegistrationProfiles, error)
public static SelfRegistrationProfiles Get(string name, Input<string> id, SelfRegistrationProfilesState? state, CustomResourceOptions? opts = null)
public static SelfRegistrationProfiles get(String name, Output<String> id, SelfRegistrationProfilesState state, CustomResourceOptions options)
resources: _: type: onelogin:SelfRegistrationProfiles 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.
- Default
Group doubleId - The default group ID to assign to users who register through this profile.
- Default
Role doubleId - The default role ID to assign to users who register through this profile.
- Domain
Blacklist string - Comma-separated list of domains to blacklist.
- Domain
List doubleStrategy - Domain list strategy:
0
for blacklist,1
for whitelist. Defaults to0
. - Domain
Whitelist string - Comma-separated list of domains to whitelist.
- Email
Verification stringType - Email verification type:
Email MagicLink
orEmail OTP
. Defaults toEmail MagicLink
. - Enabled bool
- Whether the self-registration profile is enabled. Defaults to
true
. - Fields
List<Self
Registration Profiles Field> - Custom fields for the self-registration profile.
- Helptext string
- Help text displayed on the registration page.
- Moderated bool
- Whether the self-registration profile requires moderation. Defaults to
false
. - Name string
- The name of the self-registration profile.
- Self
Registration stringProfiles Id - ID of the field.
- Thankyou
Message string - Thank you message displayed after registration.
- Url string
- The URL path for the self-registration profile.
- Default
Group float64Id - The default group ID to assign to users who register through this profile.
- Default
Role float64Id - The default role ID to assign to users who register through this profile.
- Domain
Blacklist string - Comma-separated list of domains to blacklist.
- Domain
List float64Strategy - Domain list strategy:
0
for blacklist,1
for whitelist. Defaults to0
. - Domain
Whitelist string - Comma-separated list of domains to whitelist.
- Email
Verification stringType - Email verification type:
Email MagicLink
orEmail OTP
. Defaults toEmail MagicLink
. - Enabled bool
- Whether the self-registration profile is enabled. Defaults to
true
. - Fields
[]Self
Registration Profiles Field Args - Custom fields for the self-registration profile.
- Helptext string
- Help text displayed on the registration page.
- Moderated bool
- Whether the self-registration profile requires moderation. Defaults to
false
. - Name string
- The name of the self-registration profile.
- Self
Registration stringProfiles Id - ID of the field.
- Thankyou
Message string - Thank you message displayed after registration.
- Url string
- The URL path for the self-registration profile.
- default
Group DoubleId - The default group ID to assign to users who register through this profile.
- default
Role DoubleId - The default role ID to assign to users who register through this profile.
- domain
Blacklist String - Comma-separated list of domains to blacklist.
- domain
List DoubleStrategy - Domain list strategy:
0
for blacklist,1
for whitelist. Defaults to0
. - domain
Whitelist String - Comma-separated list of domains to whitelist.
- email
Verification StringType - Email verification type:
Email MagicLink
orEmail OTP
. Defaults toEmail MagicLink
. - enabled Boolean
- Whether the self-registration profile is enabled. Defaults to
true
. - fields
List<Self
Registration Profiles Field> - Custom fields for the self-registration profile.
- helptext String
- Help text displayed on the registration page.
- moderated Boolean
- Whether the self-registration profile requires moderation. Defaults to
false
. - name String
- The name of the self-registration profile.
- self
Registration StringProfiles Id - ID of the field.
- thankyou
Message String - Thank you message displayed after registration.
- url String
- The URL path for the self-registration profile.
- default
Group numberId - The default group ID to assign to users who register through this profile.
- default
Role numberId - The default role ID to assign to users who register through this profile.
- domain
Blacklist string - Comma-separated list of domains to blacklist.
- domain
List numberStrategy - Domain list strategy:
0
for blacklist,1
for whitelist. Defaults to0
. - domain
Whitelist string - Comma-separated list of domains to whitelist.
- email
Verification stringType - Email verification type:
Email MagicLink
orEmail OTP
. Defaults toEmail MagicLink
. - enabled boolean
- Whether the self-registration profile is enabled. Defaults to
true
. - fields
Self
Registration Profiles Field[] - Custom fields for the self-registration profile.
- helptext string
- Help text displayed on the registration page.
- moderated boolean
- Whether the self-registration profile requires moderation. Defaults to
false
. - name string
- The name of the self-registration profile.
- self
Registration stringProfiles Id - ID of the field.
- thankyou
Message string - Thank you message displayed after registration.
- url string
- The URL path for the self-registration profile.
- default_
group_ floatid - The default group ID to assign to users who register through this profile.
- default_
role_ floatid - The default role ID to assign to users who register through this profile.
- domain_
blacklist str - Comma-separated list of domains to blacklist.
- domain_
list_ floatstrategy - Domain list strategy:
0
for blacklist,1
for whitelist. Defaults to0
. - domain_
whitelist str - Comma-separated list of domains to whitelist.
- email_
verification_ strtype - Email verification type:
Email MagicLink
orEmail OTP
. Defaults toEmail MagicLink
. - enabled bool
- Whether the self-registration profile is enabled. Defaults to
true
. - fields
Sequence[Self
Registration Profiles Field Args] - Custom fields for the self-registration profile.
- helptext str
- Help text displayed on the registration page.
- moderated bool
- Whether the self-registration profile requires moderation. Defaults to
false
. - name str
- The name of the self-registration profile.
- self_
registration_ strprofiles_ id - ID of the field.
- thankyou_
message str - Thank you message displayed after registration.
- url str
- The URL path for the self-registration profile.
- default
Group NumberId - The default group ID to assign to users who register through this profile.
- default
Role NumberId - The default role ID to assign to users who register through this profile.
- domain
Blacklist String - Comma-separated list of domains to blacklist.
- domain
List NumberStrategy - Domain list strategy:
0
for blacklist,1
for whitelist. Defaults to0
. - domain
Whitelist String - Comma-separated list of domains to whitelist.
- email
Verification StringType - Email verification type:
Email MagicLink
orEmail OTP
. Defaults toEmail MagicLink
. - enabled Boolean
- Whether the self-registration profile is enabled. Defaults to
true
. - fields List<Property Map>
- Custom fields for the self-registration profile.
- helptext String
- Help text displayed on the registration page.
- moderated Boolean
- Whether the self-registration profile requires moderation. Defaults to
false
. - name String
- The name of the self-registration profile.
- self
Registration StringProfiles Id - ID of the field.
- thankyou
Message String - Thank you message displayed after registration.
- url String
- The URL path for the self-registration profile.
Supporting Types
SelfRegistrationProfilesField, SelfRegistrationProfilesFieldArgs
- Custom
Attribute doubleId - ID of the custom attribute.
- Id double
- ID of the field.
- Name string
- The name of the self-registration profile.
- Custom
Attribute float64Id - ID of the custom attribute.
- Id float64
- ID of the field.
- Name string
- The name of the self-registration profile.
- custom
Attribute DoubleId - ID of the custom attribute.
- id Double
- ID of the field.
- name String
- The name of the self-registration profile.
- custom
Attribute numberId - ID of the custom attribute.
- id number
- ID of the field.
- name string
- The name of the self-registration profile.
- custom_
attribute_ floatid - ID of the custom attribute.
- id float
- ID of the field.
- name str
- The name of the self-registration profile.
- custom
Attribute NumberId - ID of the custom attribute.
- id Number
- ID of the field.
- name String
- The name of the self-registration profile.
Import
Self-Registration Profiles can be imported using the ID, e.g.
$ pulumi import onelogin:index/selfRegistrationProfiles:SelfRegistrationProfiles example 12345
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- onelogin onelogin/terraform-provider-onelogin
- License
- Notes
- This Pulumi package is based on the
onelogin
Terraform Provider.