1. Packages
  2. Dome9 Provider
  3. API Docs
  4. User
dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9

dome9.User

Explore with Pulumi AI

dome9 logo
dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9

    The User resource has methods to create and manage Dome9 users.

    Create User Resource

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

    Constructor syntax

    new User(name: string, args: UserArgs, opts?: CustomResourceOptions);
    @overload
    def User(resource_name: str,
             args: UserArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def User(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             first_name: Optional[str] = None,
             last_name: Optional[str] = None,
             is_sso_enabled: Optional[bool] = None,
             email: Optional[str] = None,
             manages: Optional[Sequence[UserManageArgs]] = None,
             is_owner: Optional[bool] = None,
             cross_account_accesses: Optional[Sequence[str]] = None,
             creates: Optional[Sequence[str]] = None,
             accesses: Optional[Sequence[UserAccessArgs]] = None,
             permit_alert_actions: Optional[bool] = None,
             permit_notifications: Optional[bool] = None,
             permit_on_boarding: Optional[bool] = None,
             permit_policies: Optional[bool] = None,
             permit_rulesets: Optional[bool] = None,
             role_ids: Optional[Sequence[float]] = None,
             user_id: Optional[str] = None,
             views: Optional[Sequence[UserViewArgs]] = None)
    func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)
    public User(string name, UserArgs args, CustomResourceOptions? opts = null)
    public User(String name, UserArgs args)
    public User(String name, UserArgs args, CustomResourceOptions options)
    
    type: dome9:User
    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 UserArgs
    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 UserArgs
    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 UserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UserArgs
    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 userResource = new Dome9.User("userResource", new()
    {
        FirstName = "string",
        LastName = "string",
        IsSsoEnabled = false,
        Email = "string",
        Manages = new[]
        {
            new Dome9.Inputs.UserManageArgs
            {
                MainId = "string",
                Region = "string",
                SecurityGroupId = "string",
                Traffic = "string",
                Type = "string",
            },
        },
        IsOwner = false,
        CrossAccountAccesses = new[]
        {
            "string",
        },
        Creates = new[]
        {
            "string",
        },
        Accesses = new[]
        {
            new Dome9.Inputs.UserAccessArgs
            {
                MainId = "string",
                Region = "string",
                SecurityGroupId = "string",
                Traffic = "string",
                Type = "string",
            },
        },
        PermitAlertActions = false,
        PermitNotifications = false,
        PermitOnBoarding = false,
        PermitPolicies = false,
        PermitRulesets = false,
        RoleIds = new[]
        {
            0,
        },
        UserId = "string",
        Views = new[]
        {
            new Dome9.Inputs.UserViewArgs
            {
                MainId = "string",
                Region = "string",
                SecurityGroupId = "string",
                Traffic = "string",
                Type = "string",
            },
        },
    });
    
    example, err := dome9.NewUser(ctx, "userResource", &dome9.UserArgs{
    	FirstName:    pulumi.String("string"),
    	LastName:     pulumi.String("string"),
    	IsSsoEnabled: pulumi.Bool(false),
    	Email:        pulumi.String("string"),
    	Manages: dome9.UserManageArray{
    		&dome9.UserManageArgs{
    			MainId:          pulumi.String("string"),
    			Region:          pulumi.String("string"),
    			SecurityGroupId: pulumi.String("string"),
    			Traffic:         pulumi.String("string"),
    			Type:            pulumi.String("string"),
    		},
    	},
    	IsOwner: pulumi.Bool(false),
    	CrossAccountAccesses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Creates: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Accesses: dome9.UserAccessArray{
    		&dome9.UserAccessArgs{
    			MainId:          pulumi.String("string"),
    			Region:          pulumi.String("string"),
    			SecurityGroupId: pulumi.String("string"),
    			Traffic:         pulumi.String("string"),
    			Type:            pulumi.String("string"),
    		},
    	},
    	PermitAlertActions:  pulumi.Bool(false),
    	PermitNotifications: pulumi.Bool(false),
    	PermitOnBoarding:    pulumi.Bool(false),
    	PermitPolicies:      pulumi.Bool(false),
    	PermitRulesets:      pulumi.Bool(false),
    	RoleIds: pulumi.Float64Array{
    		pulumi.Float64(0),
    	},
    	UserId: pulumi.String("string"),
    	Views: dome9.UserViewArray{
    		&dome9.UserViewArgs{
    			MainId:          pulumi.String("string"),
    			Region:          pulumi.String("string"),
    			SecurityGroupId: pulumi.String("string"),
    			Traffic:         pulumi.String("string"),
    			Type:            pulumi.String("string"),
    		},
    	},
    })
    
    var userResource = new User("userResource", UserArgs.builder()
        .firstName("string")
        .lastName("string")
        .isSsoEnabled(false)
        .email("string")
        .manages(UserManageArgs.builder()
            .mainId("string")
            .region("string")
            .securityGroupId("string")
            .traffic("string")
            .type("string")
            .build())
        .isOwner(false)
        .crossAccountAccesses("string")
        .creates("string")
        .accesses(UserAccessArgs.builder()
            .mainId("string")
            .region("string")
            .securityGroupId("string")
            .traffic("string")
            .type("string")
            .build())
        .permitAlertActions(false)
        .permitNotifications(false)
        .permitOnBoarding(false)
        .permitPolicies(false)
        .permitRulesets(false)
        .roleIds(0)
        .userId("string")
        .views(UserViewArgs.builder()
            .mainId("string")
            .region("string")
            .securityGroupId("string")
            .traffic("string")
            .type("string")
            .build())
        .build());
    
    user_resource = dome9.User("userResource",
        first_name="string",
        last_name="string",
        is_sso_enabled=False,
        email="string",
        manages=[{
            "main_id": "string",
            "region": "string",
            "security_group_id": "string",
            "traffic": "string",
            "type": "string",
        }],
        is_owner=False,
        cross_account_accesses=["string"],
        creates=["string"],
        accesses=[{
            "main_id": "string",
            "region": "string",
            "security_group_id": "string",
            "traffic": "string",
            "type": "string",
        }],
        permit_alert_actions=False,
        permit_notifications=False,
        permit_on_boarding=False,
        permit_policies=False,
        permit_rulesets=False,
        role_ids=[0],
        user_id="string",
        views=[{
            "main_id": "string",
            "region": "string",
            "security_group_id": "string",
            "traffic": "string",
            "type": "string",
        }])
    
    const userResource = new dome9.User("userResource", {
        firstName: "string",
        lastName: "string",
        isSsoEnabled: false,
        email: "string",
        manages: [{
            mainId: "string",
            region: "string",
            securityGroupId: "string",
            traffic: "string",
            type: "string",
        }],
        isOwner: false,
        crossAccountAccesses: ["string"],
        creates: ["string"],
        accesses: [{
            mainId: "string",
            region: "string",
            securityGroupId: "string",
            traffic: "string",
            type: "string",
        }],
        permitAlertActions: false,
        permitNotifications: false,
        permitOnBoarding: false,
        permitPolicies: false,
        permitRulesets: false,
        roleIds: [0],
        userId: "string",
        views: [{
            mainId: "string",
            region: "string",
            securityGroupId: "string",
            traffic: "string",
            type: "string",
        }],
    });
    
    type: dome9:User
    properties:
        accesses:
            - mainId: string
              region: string
              securityGroupId: string
              traffic: string
              type: string
        creates:
            - string
        crossAccountAccesses:
            - string
        email: string
        firstName: string
        isOwner: false
        isSsoEnabled: false
        lastName: string
        manages:
            - mainId: string
              region: string
              securityGroupId: string
              traffic: string
              type: string
        permitAlertActions: false
        permitNotifications: false
        permitOnBoarding: false
        permitPolicies: false
        permitRulesets: false
        roleIds:
            - 0
        userId: string
        views:
            - mainId: string
              region: string
              securityGroupId: string
              traffic: string
              type: string
    

    User 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 User resource accepts the following input properties:

    Email string
    user email.
    FirstName string
    userfirst name.
    IsSsoEnabled bool
    user has enabled SSO sign-on.

    • permission fields:
    LastName string
    user last name.
    Accesses List<UserAccess>
    Creates List<string>
    CrossAccountAccesses List<string>
    IsOwner bool
    user is account owner.
    Manages List<UserManage>
    PermitAlertActions bool
    PermitNotifications bool
    PermitOnBoarding bool
    PermitPolicies bool
    PermitRulesets bool
    RoleIds List<double>
    (list) list of roles for the user.
    UserId string
    user id.
    Views List<UserView>
    Email string
    user email.
    FirstName string
    userfirst name.
    IsSsoEnabled bool
    user has enabled SSO sign-on.

    • permission fields:
    LastName string
    user last name.
    Accesses []UserAccessArgs
    Creates []string
    CrossAccountAccesses []string
    IsOwner bool
    user is account owner.
    Manages []UserManageArgs
    PermitAlertActions bool
    PermitNotifications bool
    PermitOnBoarding bool
    PermitPolicies bool
    PermitRulesets bool
    RoleIds []float64
    (list) list of roles for the user.
    UserId string
    user id.
    Views []UserViewArgs
    email String
    user email.
    firstName String
    userfirst name.
    isSsoEnabled Boolean
    user has enabled SSO sign-on.

    • permission fields:
    lastName String
    user last name.
    accesses List<UserAccess>
    creates List<String>
    crossAccountAccesses List<String>
    isOwner Boolean
    user is account owner.
    manages List<UserManage>
    permitAlertActions Boolean
    permitNotifications Boolean
    permitOnBoarding Boolean
    permitPolicies Boolean
    permitRulesets Boolean
    roleIds List<Double>
    (list) list of roles for the user.
    userId String
    user id.
    views List<UserView>
    email string
    user email.
    firstName string
    userfirst name.
    isSsoEnabled boolean
    user has enabled SSO sign-on.

    • permission fields:
    lastName string
    user last name.
    accesses UserAccess[]
    creates string[]
    crossAccountAccesses string[]
    isOwner boolean
    user is account owner.
    manages UserManage[]
    permitAlertActions boolean
    permitNotifications boolean
    permitOnBoarding boolean
    permitPolicies boolean
    permitRulesets boolean
    roleIds number[]
    (list) list of roles for the user.
    userId string
    user id.
    views UserView[]
    email str
    user email.
    first_name str
    userfirst name.
    is_sso_enabled bool
    user has enabled SSO sign-on.

    • permission fields:
    last_name str
    user last name.
    accesses Sequence[UserAccessArgs]
    creates Sequence[str]
    cross_account_accesses Sequence[str]
    is_owner bool
    user is account owner.
    manages Sequence[UserManageArgs]
    permit_alert_actions bool
    permit_notifications bool
    permit_on_boarding bool
    permit_policies bool
    permit_rulesets bool
    role_ids Sequence[float]
    (list) list of roles for the user.
    user_id str
    user id.
    views Sequence[UserViewArgs]
    email String
    user email.
    firstName String
    userfirst name.
    isSsoEnabled Boolean
    user has enabled SSO sign-on.

    • permission fields:
    lastName String
    user last name.
    accesses List<Property Map>
    creates List<String>
    crossAccountAccesses List<String>
    isOwner Boolean
    user is account owner.
    manages List<Property Map>
    permitAlertActions Boolean
    permitNotifications Boolean
    permitOnBoarding Boolean
    permitPolicies Boolean
    permitRulesets Boolean
    roleIds List<Number>
    (list) list of roles for the user.
    userId String
    user id.
    views List<Property Map>

    Outputs

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

    CanSwitchRole bool
    user can switch roles.
    HasApiKey bool
    user has generated an API Key - V1 or V2.
    HasApiKeyV1 bool
    user has generated an API Key - V1.
    HasApiKeyV2 bool
    user has generated an API Key - V2.
    IamSaves List<UserIamSafe>
    IAM safety details for the user support:
    Id string
    The provider-assigned unique ID for this managed resource.
    IsAuditor bool
    user is auditor user.
    IsLocked bool
    is locked.
    IsMfaEnabled bool
    user has enabled MFA authentication.
    IsMobileDevicePaired bool
    user has paired mobile device.
    IsSuperUser bool
    user is Super User.
    IsSuspended bool
    user is suspended.
    LastLogin string
    last login.
    CanSwitchRole bool
    user can switch roles.
    HasApiKey bool
    user has generated an API Key - V1 or V2.
    HasApiKeyV1 bool
    user has generated an API Key - V1.
    HasApiKeyV2 bool
    user has generated an API Key - V2.
    IamSaves []UserIamSafe
    IAM safety details for the user support:
    Id string
    The provider-assigned unique ID for this managed resource.
    IsAuditor bool
    user is auditor user.
    IsLocked bool
    is locked.
    IsMfaEnabled bool
    user has enabled MFA authentication.
    IsMobileDevicePaired bool
    user has paired mobile device.
    IsSuperUser bool
    user is Super User.
    IsSuspended bool
    user is suspended.
    LastLogin string
    last login.
    canSwitchRole Boolean
    user can switch roles.
    hasApiKey Boolean
    user has generated an API Key - V1 or V2.
    hasApiKeyV1 Boolean
    user has generated an API Key - V1.
    hasApiKeyV2 Boolean
    user has generated an API Key - V2.
    iamSaves List<UserIamSafe>
    IAM safety details for the user support:
    id String
    The provider-assigned unique ID for this managed resource.
    isAuditor Boolean
    user is auditor user.
    isLocked Boolean
    is locked.
    isMfaEnabled Boolean
    user has enabled MFA authentication.
    isMobileDevicePaired Boolean
    user has paired mobile device.
    isSuperUser Boolean
    user is Super User.
    isSuspended Boolean
    user is suspended.
    lastLogin String
    last login.
    canSwitchRole boolean
    user can switch roles.
    hasApiKey boolean
    user has generated an API Key - V1 or V2.
    hasApiKeyV1 boolean
    user has generated an API Key - V1.
    hasApiKeyV2 boolean
    user has generated an API Key - V2.
    iamSaves UserIamSafe[]
    IAM safety details for the user support:
    id string
    The provider-assigned unique ID for this managed resource.
    isAuditor boolean
    user is auditor user.
    isLocked boolean
    is locked.
    isMfaEnabled boolean
    user has enabled MFA authentication.
    isMobileDevicePaired boolean
    user has paired mobile device.
    isSuperUser boolean
    user is Super User.
    isSuspended boolean
    user is suspended.
    lastLogin string
    last login.
    can_switch_role bool
    user can switch roles.
    has_api_key bool
    user has generated an API Key - V1 or V2.
    has_api_key_v1 bool
    user has generated an API Key - V1.
    has_api_key_v2 bool
    user has generated an API Key - V2.
    iam_saves Sequence[UserIamSafe]
    IAM safety details for the user support:
    id str
    The provider-assigned unique ID for this managed resource.
    is_auditor bool
    user is auditor user.
    is_locked bool
    is locked.
    is_mfa_enabled bool
    user has enabled MFA authentication.
    is_mobile_device_paired bool
    user has paired mobile device.
    is_super_user bool
    user is Super User.
    is_suspended bool
    user is suspended.
    last_login str
    last login.
    canSwitchRole Boolean
    user can switch roles.
    hasApiKey Boolean
    user has generated an API Key - V1 or V2.
    hasApiKeyV1 Boolean
    user has generated an API Key - V1.
    hasApiKeyV2 Boolean
    user has generated an API Key - V2.
    iamSaves List<Property Map>
    IAM safety details for the user support:
    id String
    The provider-assigned unique ID for this managed resource.
    isAuditor Boolean
    user is auditor user.
    isLocked Boolean
    is locked.
    isMfaEnabled Boolean
    user has enabled MFA authentication.
    isMobileDevicePaired Boolean
    user has paired mobile device.
    isSuperUser Boolean
    user is Super User.
    isSuspended Boolean
    user is suspended.
    lastLogin String
    last login.

    Look up Existing User Resource

    Get an existing User 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?: UserState, opts?: CustomResourceOptions): User
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accesses: Optional[Sequence[UserAccessArgs]] = None,
            can_switch_role: Optional[bool] = None,
            creates: Optional[Sequence[str]] = None,
            cross_account_accesses: Optional[Sequence[str]] = None,
            email: Optional[str] = None,
            first_name: Optional[str] = None,
            has_api_key: Optional[bool] = None,
            has_api_key_v1: Optional[bool] = None,
            has_api_key_v2: Optional[bool] = None,
            iam_saves: Optional[Sequence[UserIamSafeArgs]] = None,
            is_auditor: Optional[bool] = None,
            is_locked: Optional[bool] = None,
            is_mfa_enabled: Optional[bool] = None,
            is_mobile_device_paired: Optional[bool] = None,
            is_owner: Optional[bool] = None,
            is_sso_enabled: Optional[bool] = None,
            is_super_user: Optional[bool] = None,
            is_suspended: Optional[bool] = None,
            last_login: Optional[str] = None,
            last_name: Optional[str] = None,
            manages: Optional[Sequence[UserManageArgs]] = None,
            permit_alert_actions: Optional[bool] = None,
            permit_notifications: Optional[bool] = None,
            permit_on_boarding: Optional[bool] = None,
            permit_policies: Optional[bool] = None,
            permit_rulesets: Optional[bool] = None,
            role_ids: Optional[Sequence[float]] = None,
            user_id: Optional[str] = None,
            views: Optional[Sequence[UserViewArgs]] = None) -> User
    func GetUser(ctx *Context, name string, id IDInput, state *UserState, opts ...ResourceOption) (*User, error)
    public static User Get(string name, Input<string> id, UserState? state, CustomResourceOptions? opts = null)
    public static User get(String name, Output<String> id, UserState state, CustomResourceOptions options)
    resources:  _:    type: dome9:User    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Accesses List<UserAccess>
    CanSwitchRole bool
    user can switch roles.
    Creates List<string>
    CrossAccountAccesses List<string>
    Email string
    user email.
    FirstName string
    userfirst name.
    HasApiKey bool
    user has generated an API Key - V1 or V2.
    HasApiKeyV1 bool
    user has generated an API Key - V1.
    HasApiKeyV2 bool
    user has generated an API Key - V2.
    IamSaves List<UserIamSafe>
    IAM safety details for the user support:
    IsAuditor bool
    user is auditor user.
    IsLocked bool
    is locked.
    IsMfaEnabled bool
    user has enabled MFA authentication.
    IsMobileDevicePaired bool
    user has paired mobile device.
    IsOwner bool
    user is account owner.
    IsSsoEnabled bool
    user has enabled SSO sign-on.

    • permission fields:
    IsSuperUser bool
    user is Super User.
    IsSuspended bool
    user is suspended.
    LastLogin string
    last login.
    LastName string
    user last name.
    Manages List<UserManage>
    PermitAlertActions bool
    PermitNotifications bool
    PermitOnBoarding bool
    PermitPolicies bool
    PermitRulesets bool
    RoleIds List<double>
    (list) list of roles for the user.
    UserId string
    user id.
    Views List<UserView>
    Accesses []UserAccessArgs
    CanSwitchRole bool
    user can switch roles.
    Creates []string
    CrossAccountAccesses []string
    Email string
    user email.
    FirstName string
    userfirst name.
    HasApiKey bool
    user has generated an API Key - V1 or V2.
    HasApiKeyV1 bool
    user has generated an API Key - V1.
    HasApiKeyV2 bool
    user has generated an API Key - V2.
    IamSaves []UserIamSafeArgs
    IAM safety details for the user support:
    IsAuditor bool
    user is auditor user.
    IsLocked bool
    is locked.
    IsMfaEnabled bool
    user has enabled MFA authentication.
    IsMobileDevicePaired bool
    user has paired mobile device.
    IsOwner bool
    user is account owner.
    IsSsoEnabled bool
    user has enabled SSO sign-on.

    • permission fields:
    IsSuperUser bool
    user is Super User.
    IsSuspended bool
    user is suspended.
    LastLogin string
    last login.
    LastName string
    user last name.
    Manages []UserManageArgs
    PermitAlertActions bool
    PermitNotifications bool
    PermitOnBoarding bool
    PermitPolicies bool
    PermitRulesets bool
    RoleIds []float64
    (list) list of roles for the user.
    UserId string
    user id.
    Views []UserViewArgs
    accesses List<UserAccess>
    canSwitchRole Boolean
    user can switch roles.
    creates List<String>
    crossAccountAccesses List<String>
    email String
    user email.
    firstName String
    userfirst name.
    hasApiKey Boolean
    user has generated an API Key - V1 or V2.
    hasApiKeyV1 Boolean
    user has generated an API Key - V1.
    hasApiKeyV2 Boolean
    user has generated an API Key - V2.
    iamSaves List<UserIamSafe>
    IAM safety details for the user support:
    isAuditor Boolean
    user is auditor user.
    isLocked Boolean
    is locked.
    isMfaEnabled Boolean
    user has enabled MFA authentication.
    isMobileDevicePaired Boolean
    user has paired mobile device.
    isOwner Boolean
    user is account owner.
    isSsoEnabled Boolean
    user has enabled SSO sign-on.

    • permission fields:
    isSuperUser Boolean
    user is Super User.
    isSuspended Boolean
    user is suspended.
    lastLogin String
    last login.
    lastName String
    user last name.
    manages List<UserManage>
    permitAlertActions Boolean
    permitNotifications Boolean
    permitOnBoarding Boolean
    permitPolicies Boolean
    permitRulesets Boolean
    roleIds List<Double>
    (list) list of roles for the user.
    userId String
    user id.
    views List<UserView>
    accesses UserAccess[]
    canSwitchRole boolean
    user can switch roles.
    creates string[]
    crossAccountAccesses string[]
    email string
    user email.
    firstName string
    userfirst name.
    hasApiKey boolean
    user has generated an API Key - V1 or V2.
    hasApiKeyV1 boolean
    user has generated an API Key - V1.
    hasApiKeyV2 boolean
    user has generated an API Key - V2.
    iamSaves UserIamSafe[]
    IAM safety details for the user support:
    isAuditor boolean
    user is auditor user.
    isLocked boolean
    is locked.
    isMfaEnabled boolean
    user has enabled MFA authentication.
    isMobileDevicePaired boolean
    user has paired mobile device.
    isOwner boolean
    user is account owner.
    isSsoEnabled boolean
    user has enabled SSO sign-on.

    • permission fields:
    isSuperUser boolean
    user is Super User.
    isSuspended boolean
    user is suspended.
    lastLogin string
    last login.
    lastName string
    user last name.
    manages UserManage[]
    permitAlertActions boolean
    permitNotifications boolean
    permitOnBoarding boolean
    permitPolicies boolean
    permitRulesets boolean
    roleIds number[]
    (list) list of roles for the user.
    userId string
    user id.
    views UserView[]
    accesses Sequence[UserAccessArgs]
    can_switch_role bool
    user can switch roles.
    creates Sequence[str]
    cross_account_accesses Sequence[str]
    email str
    user email.
    first_name str
    userfirst name.
    has_api_key bool
    user has generated an API Key - V1 or V2.
    has_api_key_v1 bool
    user has generated an API Key - V1.
    has_api_key_v2 bool
    user has generated an API Key - V2.
    iam_saves Sequence[UserIamSafeArgs]
    IAM safety details for the user support:
    is_auditor bool
    user is auditor user.
    is_locked bool
    is locked.
    is_mfa_enabled bool
    user has enabled MFA authentication.
    is_mobile_device_paired bool
    user has paired mobile device.
    is_owner bool
    user is account owner.
    is_sso_enabled bool
    user has enabled SSO sign-on.

    • permission fields:
    is_super_user bool
    user is Super User.
    is_suspended bool
    user is suspended.
    last_login str
    last login.
    last_name str
    user last name.
    manages Sequence[UserManageArgs]
    permit_alert_actions bool
    permit_notifications bool
    permit_on_boarding bool
    permit_policies bool
    permit_rulesets bool
    role_ids Sequence[float]
    (list) list of roles for the user.
    user_id str
    user id.
    views Sequence[UserViewArgs]
    accesses List<Property Map>
    canSwitchRole Boolean
    user can switch roles.
    creates List<String>
    crossAccountAccesses List<String>
    email String
    user email.
    firstName String
    userfirst name.
    hasApiKey Boolean
    user has generated an API Key - V1 or V2.
    hasApiKeyV1 Boolean
    user has generated an API Key - V1.
    hasApiKeyV2 Boolean
    user has generated an API Key - V2.
    iamSaves List<Property Map>
    IAM safety details for the user support:
    isAuditor Boolean
    user is auditor user.
    isLocked Boolean
    is locked.
    isMfaEnabled Boolean
    user has enabled MFA authentication.
    isMobileDevicePaired Boolean
    user has paired mobile device.
    isOwner Boolean
    user is account owner.
    isSsoEnabled Boolean
    user has enabled SSO sign-on.

    • permission fields:
    isSuperUser Boolean
    user is Super User.
    isSuspended Boolean
    user is suspended.
    lastLogin String
    last login.
    lastName String
    user last name.
    manages List<Property Map>
    permitAlertActions Boolean
    permitNotifications Boolean
    permitOnBoarding Boolean
    permitPolicies Boolean
    permitRulesets Boolean
    roleIds List<Number>
    (list) list of roles for the user.
    userId String
    user id.
    views List<Property Map>

    Supporting Types

    UserAccess, UserAccessArgs

    MainId string
    Region string
    SecurityGroupId string
    Traffic string
    Type string
    MainId string
    Region string
    SecurityGroupId string
    Traffic string
    Type string
    mainId String
    region String
    securityGroupId String
    traffic String
    type String
    mainId string
    region string
    securityGroupId string
    traffic string
    type string
    mainId String
    region String
    securityGroupId String
    traffic String
    type String

    UserIamSafe, UserIamSafeArgs

    CloudAccounts List<UserIamSafeCloudAccount>
    (list) Cloud accounts IAM supports:
    CloudAccounts []UserIamSafeCloudAccount
    (list) Cloud accounts IAM supports:
    cloudAccounts List<UserIamSafeCloudAccount>
    (list) Cloud accounts IAM supports:
    cloudAccounts UserIamSafeCloudAccount[]
    (list) Cloud accounts IAM supports:
    cloud_accounts Sequence[UserIamSafeCloudAccount]
    (list) Cloud accounts IAM supports:
    cloudAccounts List<Property Map>
    (list) Cloud accounts IAM supports:

    UserIamSafeCloudAccount, UserIamSafeCloudAccountArgs

    CloudAccountId string
    cloud account id
    CloudAccountState string
    cloud account state
    ExternalAccountNumber string
    external account number
    IamEntities List<string>
    iam entities
    IamEntitiesLastLeaseTimes List<UserIamSafeCloudAccountIamEntitiesLastLeaseTime>
    (list) iam entities last lease time supports:
    IamEntity string
    iam entity
    LastLeaseTime string
    last lease time
    Name string
    name
    State bool
    state
    CloudAccountId string
    cloud account id
    CloudAccountState string
    cloud account state
    ExternalAccountNumber string
    external account number
    IamEntities []string
    iam entities
    IamEntitiesLastLeaseTimes []UserIamSafeCloudAccountIamEntitiesLastLeaseTime
    (list) iam entities last lease time supports:
    IamEntity string
    iam entity
    LastLeaseTime string
    last lease time
    Name string
    name
    State bool
    state
    cloudAccountId String
    cloud account id
    cloudAccountState String
    cloud account state
    externalAccountNumber String
    external account number
    iamEntities List<String>
    iam entities
    iamEntitiesLastLeaseTimes List<UserIamSafeCloudAccountIamEntitiesLastLeaseTime>
    (list) iam entities last lease time supports:
    iamEntity String
    iam entity
    lastLeaseTime String
    last lease time
    name String
    name
    state Boolean
    state
    cloudAccountId string
    cloud account id
    cloudAccountState string
    cloud account state
    externalAccountNumber string
    external account number
    iamEntities string[]
    iam entities
    iamEntitiesLastLeaseTimes UserIamSafeCloudAccountIamEntitiesLastLeaseTime[]
    (list) iam entities last lease time supports:
    iamEntity string
    iam entity
    lastLeaseTime string
    last lease time
    name string
    name
    state boolean
    state
    cloud_account_id str
    cloud account id
    cloud_account_state str
    cloud account state
    external_account_number str
    external account number
    iam_entities Sequence[str]
    iam entities
    iam_entities_last_lease_times Sequence[UserIamSafeCloudAccountIamEntitiesLastLeaseTime]
    (list) iam entities last lease time supports:
    iam_entity str
    iam entity
    last_lease_time str
    last lease time
    name str
    name
    state bool
    state
    cloudAccountId String
    cloud account id
    cloudAccountState String
    cloud account state
    externalAccountNumber String
    external account number
    iamEntities List<String>
    iam entities
    iamEntitiesLastLeaseTimes List<Property Map>
    (list) iam entities last lease time supports:
    iamEntity String
    iam entity
    lastLeaseTime String
    last lease time
    name String
    name
    state Boolean
    state

    UserIamSafeCloudAccountIamEntitiesLastLeaseTime, UserIamSafeCloudAccountIamEntitiesLastLeaseTimeArgs

    IamEntity string
    iam entity
    LastLeaseTime string
    last lease time
    IamEntity string
    iam entity
    LastLeaseTime string
    last lease time
    iamEntity String
    iam entity
    lastLeaseTime String
    last lease time
    iamEntity string
    iam entity
    lastLeaseTime string
    last lease time
    iam_entity str
    iam entity
    last_lease_time str
    last lease time
    iamEntity String
    iam entity
    lastLeaseTime String
    last lease time

    UserManage, UserManageArgs

    MainId string
    Region string
    SecurityGroupId string
    Traffic string
    Type string
    MainId string
    Region string
    SecurityGroupId string
    Traffic string
    Type string
    mainId String
    region String
    securityGroupId String
    traffic String
    type String
    mainId string
    region string
    securityGroupId string
    traffic string
    type string
    mainId String
    region String
    securityGroupId String
    traffic String
    type String

    UserView, UserViewArgs

    MainId string
    Region string
    SecurityGroupId string
    Traffic string
    Type string
    MainId string
    Region string
    SecurityGroupId string
    Traffic string
    Type string
    mainId String
    region String
    securityGroupId String
    traffic String
    type String
    mainId string
    region string
    securityGroupId string
    traffic string
    type string
    mainId String
    region String
    securityGroupId String
    traffic String
    type String

    Import

    The user can be imported; use <USER ID> as the import ID.

    For example:

    terraform import dome9_user.test 000000
    

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

    Package Details

    Repository
    dome9 dome9/terraform-provider-dome9
    License
    Notes
    This Pulumi package is based on the dome9 Terraform Provider.
    dome9 logo
    dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9