1. Packages
  2. Powerscale Provider
  3. API Docs
  4. UserMappingRules
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

powerscale.UserMappingRules

Explore with Pulumi AI

powerscale logo
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

    This resource is used to manage the User Mapping Rules entity of PowerScale Array. PowerScale User Mapping Rules combines user identities from different directory services into a single access token and then modifies it according to configured rules.We can Create, Update and Delete the User Mapping Rules using this resource. We can also import an existing User Mapping Rules from PowerScale array. Note that, User Mapping Rules is the native functionality of PowerScale. When creating the resource, we actually load User Mapping Rules from PowerScale to the resource state.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.powerscale.UserMappingRules;
    import com.pulumi.powerscale.UserMappingRulesArgs;
    import com.pulumi.powerscale.inputs.UserMappingRulesParametersArgs;
    import com.pulumi.powerscale.inputs.UserMappingRulesRuleArgs;
    import com.pulumi.powerscale.inputs.UserMappingRulesRuleOptionsArgs;
    import com.pulumi.powerscale.inputs.UserMappingRulesRuleOptionsDefaultUserArgs;
    import com.pulumi.powerscale.inputs.UserMappingRulesRuleSourceUserArgs;
    import com.pulumi.powerscale.inputs.UserMappingRulesRuleTargetUserArgs;
    import com.pulumi.powerscale.inputs.UserMappingRulesTestMappingUserArgs;
    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) {
            // PowerScale User Mapping Rules combines user identities from different directory services into a single access token and then modifies it according to configured rules.
            var testUserMappingRules = new UserMappingRules("testUserMappingRules", UserMappingRulesArgs.builder()
                .parameters(UserMappingRulesParametersArgs.builder()
                    .default_unix_user(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .build())
                .rules(            
                    UserMappingRulesRuleArgs.builder()
                        .operator("append")
                        .options(UserMappingRulesRuleOptionsArgs.builder()
                            .break_(true)
                            .defaultUser(UserMappingRulesRuleOptionsDefaultUserArgs.builder()
                                .domain("domain")
                                .user("Guest")
                                .build())
                            .group(true)
                            .groups(true)
                            .user(true)
                            .build())
                        .sourceUser(UserMappingRulesRuleSourceUserArgs.builder()
                            .domain("domain")
                            .user("Guest")
                            .build())
                        .targetUser(UserMappingRulesRuleTargetUserArgs.builder()
                            .domain("domain")
                            .user("testMappingRule")
                            .build())
                        .build(),
                    UserMappingRulesRuleArgs.builder()
                        .operator("trim")
                        .options(UserMappingRulesRuleOptionsArgs.builder()
                            .break_(true)
                            .build())
                        .targetUser(UserMappingRulesRuleTargetUserArgs.builder()
                            .domain("domain")
                            .user("testMappingRule")
                            .build())
                        .build(),
                    UserMappingRulesRuleArgs.builder()
                        .operator("union")
                        .options(UserMappingRulesRuleOptionsArgs.builder()
                            .break_(true)
                            .defaultUser(UserMappingRulesRuleOptionsDefaultUserArgs.builder()
                                .domain("domain")
                                .user("Guest")
                                .build())
                            .build())
                        .sourceUser(UserMappingRulesRuleSourceUserArgs.builder()
                            .user("admin")
                            .build())
                        .targetUser(UserMappingRulesRuleTargetUserArgs.builder()
                            .user("tfaccUserMappungRuleUser")
                            .build())
                        .build(),
                    UserMappingRulesRuleArgs.builder()
                        .operator("replace")
                        .options(UserMappingRulesRuleOptionsArgs.builder()
                            .break_(true)
                            .defaultUser(UserMappingRulesRuleOptionsDefaultUserArgs.builder()
                                .domain("domain")
                                .user("Guest")
                                .build())
                            .build())
                        .sourceUser(UserMappingRulesRuleSourceUserArgs.builder()
                            .domain("domain")
                            .user("admin")
                            .build())
                        .targetUser(UserMappingRulesRuleTargetUserArgs.builder()
                            .domain("domain")
                            .user("tfaccUserMappungRuleUser")
                            .build())
                        .build(),
                    UserMappingRulesRuleArgs.builder()
                        .operator("insert")
                        .options(UserMappingRulesRuleOptionsArgs.builder()
                            .break_(true)
                            .defaultUser(UserMappingRulesRuleOptionsDefaultUserArgs.builder()
                                .domain("domain")
                                .user("Guest")
                                .build())
                            .group(true)
                            .groups(true)
                            .user(true)
                            .build())
                        .sourceUser(UserMappingRulesRuleSourceUserArgs.builder()
                            .domain("domain")
                            .user("admin")
                            .build())
                        .targetUser(UserMappingRulesRuleTargetUserArgs.builder()
                            .domain("domain")
                            .user("tfaccUserMappungRuleUser")
                            .build())
                        .build())
                .testMappingUsers(            
                    UserMappingRulesTestMappingUserArgs.builder()
                        .name("root")
                        .uid(0)
                        .build(),
                    UserMappingRulesTestMappingUserArgs.builder()
                        .name("admin")
                        .build())
                .zone("System")
                .build());
    
        }
    }
    
    resources:
      # PowerScale User Mapping Rules combines user identities from different directory services into a single access token and then modifies it according to configured rules.
      testUserMappingRules:
        type: powerscale:UserMappingRules
        properties:
          # Specifies the parameters for user mapping rules.
          parameters:
            default_unix_user:
              domain: domain
              user: username
          # Specifies the list of user mapping rules.
          rules:
            - operator: append
              options:
                break: true
                defaultUser:
                  domain: domain
                  user: Guest
                group: true
                groups: true
                user: true
              sourceUser:
                domain: domain
                user: Guest
              targetUser:
                domain: domain
                user: testMappingRule
            - operator: trim
              options:
                break: true
              targetUser:
                domain: domain
                user: testMappingRule
            - operator: union
              options:
                break: true
                defaultUser:
                  domain: domain
                  user: Guest
              sourceUser:
                user: admin
              targetUser:
                user: tfaccUserMappungRuleUser
            - operator: replace
              options:
                break: true
                defaultUser:
                  domain: domain
                  user: Guest
              sourceUser:
                domain: domain
                user: admin
              targetUser:
                domain: domain
                user: tfaccUserMappungRuleUser
            - operator: insert
              options:
                break: true
                defaultUser:
                  domain: domain
                  user: Guest
                group: true
                groups: true
                user: true
              sourceUser:
                domain: domain
                user: admin
              targetUser:
                domain: domain
                user: tfaccUserMappungRuleUser
          # List of user identity for mapping test.
          testMappingUsers:
            - name: root
              uid: 0
            - name: admin
          # The zone to which the user mapping applies. Defaults to System
          zone: System
    

    Create UserMappingRules Resource

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

    Constructor syntax

    new UserMappingRules(name: string, args?: UserMappingRulesArgs, opts?: CustomResourceOptions);
    @overload
    def UserMappingRules(resource_name: str,
                         args: Optional[UserMappingRulesArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def UserMappingRules(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         parameters: Optional[UserMappingRulesParametersArgs] = None,
                         rules: Optional[Sequence[UserMappingRulesRuleArgs]] = None,
                         test_mapping_users: Optional[Sequence[UserMappingRulesTestMappingUserArgs]] = None,
                         zone: Optional[str] = None)
    func NewUserMappingRules(ctx *Context, name string, args *UserMappingRulesArgs, opts ...ResourceOption) (*UserMappingRules, error)
    public UserMappingRules(string name, UserMappingRulesArgs? args = null, CustomResourceOptions? opts = null)
    public UserMappingRules(String name, UserMappingRulesArgs args)
    public UserMappingRules(String name, UserMappingRulesArgs args, CustomResourceOptions options)
    
    type: powerscale:UserMappingRules
    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 UserMappingRulesArgs
    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 UserMappingRulesArgs
    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 UserMappingRulesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UserMappingRulesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UserMappingRulesArgs
    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 userMappingRulesResource = new Powerscale.UserMappingRules("userMappingRulesResource", new()
    {
        Parameters = new Powerscale.Inputs.UserMappingRulesParametersArgs
        {
            DefaultUnixUser = new Powerscale.Inputs.UserMappingRulesParametersDefaultUnixUserArgs
            {
                User = "string",
                Domain = "string",
            },
        },
        Rules = new[]
        {
            new Powerscale.Inputs.UserMappingRulesRuleArgs
            {
                Operator = "string",
                TargetUser = new Powerscale.Inputs.UserMappingRulesRuleTargetUserArgs
                {
                    User = "string",
                    Domain = "string",
                },
                Options = new Powerscale.Inputs.UserMappingRulesRuleOptionsArgs
                {
                    Break = false,
                    DefaultUser = new Powerscale.Inputs.UserMappingRulesRuleOptionsDefaultUserArgs
                    {
                        User = "string",
                        Domain = "string",
                    },
                    Group = false,
                    Groups = false,
                    User = false,
                },
                SourceUser = new Powerscale.Inputs.UserMappingRulesRuleSourceUserArgs
                {
                    User = "string",
                    Domain = "string",
                },
            },
        },
        TestMappingUsers = new[]
        {
            new Powerscale.Inputs.UserMappingRulesTestMappingUserArgs
            {
                Name = "string",
                Uid = 0,
            },
        },
        Zone = "string",
    });
    
    example, err := powerscale.NewUserMappingRules(ctx, "userMappingRulesResource", &powerscale.UserMappingRulesArgs{
    	Parameters: &powerscale.UserMappingRulesParametersArgs{
    		DefaultUnixUser: &powerscale.UserMappingRulesParametersDefaultUnixUserArgs{
    			User:   pulumi.String("string"),
    			Domain: pulumi.String("string"),
    		},
    	},
    	Rules: powerscale.UserMappingRulesRuleArray{
    		&powerscale.UserMappingRulesRuleArgs{
    			Operator: pulumi.String("string"),
    			TargetUser: &powerscale.UserMappingRulesRuleTargetUserArgs{
    				User:   pulumi.String("string"),
    				Domain: pulumi.String("string"),
    			},
    			Options: &powerscale.UserMappingRulesRuleOptionsArgs{
    				Break: pulumi.Bool(false),
    				DefaultUser: &powerscale.UserMappingRulesRuleOptionsDefaultUserArgs{
    					User:   pulumi.String("string"),
    					Domain: pulumi.String("string"),
    				},
    				Group:  pulumi.Bool(false),
    				Groups: pulumi.Bool(false),
    				User:   pulumi.Bool(false),
    			},
    			SourceUser: &powerscale.UserMappingRulesRuleSourceUserArgs{
    				User:   pulumi.String("string"),
    				Domain: pulumi.String("string"),
    			},
    		},
    	},
    	TestMappingUsers: powerscale.UserMappingRulesTestMappingUserArray{
    		&powerscale.UserMappingRulesTestMappingUserArgs{
    			Name: pulumi.String("string"),
    			Uid:  pulumi.Float64(0),
    		},
    	},
    	Zone: pulumi.String("string"),
    })
    
    var userMappingRulesResource = new UserMappingRules("userMappingRulesResource", UserMappingRulesArgs.builder()
        .parameters(UserMappingRulesParametersArgs.builder()
            .defaultUnixUser(UserMappingRulesParametersDefaultUnixUserArgs.builder()
                .user("string")
                .domain("string")
                .build())
            .build())
        .rules(UserMappingRulesRuleArgs.builder()
            .operator("string")
            .targetUser(UserMappingRulesRuleTargetUserArgs.builder()
                .user("string")
                .domain("string")
                .build())
            .options(UserMappingRulesRuleOptionsArgs.builder()
                .break_(false)
                .defaultUser(UserMappingRulesRuleOptionsDefaultUserArgs.builder()
                    .user("string")
                    .domain("string")
                    .build())
                .group(false)
                .groups(false)
                .user(false)
                .build())
            .sourceUser(UserMappingRulesRuleSourceUserArgs.builder()
                .user("string")
                .domain("string")
                .build())
            .build())
        .testMappingUsers(UserMappingRulesTestMappingUserArgs.builder()
            .name("string")
            .uid(0)
            .build())
        .zone("string")
        .build());
    
    user_mapping_rules_resource = powerscale.UserMappingRules("userMappingRulesResource",
        parameters={
            "default_unix_user": {
                "user": "string",
                "domain": "string",
            },
        },
        rules=[{
            "operator": "string",
            "target_user": {
                "user": "string",
                "domain": "string",
            },
            "options": {
                "break_": False,
                "default_user": {
                    "user": "string",
                    "domain": "string",
                },
                "group": False,
                "groups": False,
                "user": False,
            },
            "source_user": {
                "user": "string",
                "domain": "string",
            },
        }],
        test_mapping_users=[{
            "name": "string",
            "uid": 0,
        }],
        zone="string")
    
    const userMappingRulesResource = new powerscale.UserMappingRules("userMappingRulesResource", {
        parameters: {
            defaultUnixUser: {
                user: "string",
                domain: "string",
            },
        },
        rules: [{
            operator: "string",
            targetUser: {
                user: "string",
                domain: "string",
            },
            options: {
                "break": false,
                defaultUser: {
                    user: "string",
                    domain: "string",
                },
                group: false,
                groups: false,
                user: false,
            },
            sourceUser: {
                user: "string",
                domain: "string",
            },
        }],
        testMappingUsers: [{
            name: "string",
            uid: 0,
        }],
        zone: "string",
    });
    
    type: powerscale:UserMappingRules
    properties:
        parameters:
            defaultUnixUser:
                domain: string
                user: string
        rules:
            - operator: string
              options:
                break: false
                defaultUser:
                    domain: string
                    user: string
                group: false
                groups: false
                user: false
              sourceUser:
                domain: string
                user: string
              targetUser:
                domain: string
                user: string
        testMappingUsers:
            - name: string
              uid: 0
        zone: string
    

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

    Parameters UserMappingRulesParameters
    Specifies the parameters for user mapping rules.
    Rules List<UserMappingRulesRule>
    Specifies the list of user mapping rules.
    TestMappingUsers List<UserMappingRulesTestMappingUser>
    List of user identity for mapping test.
    Zone string
    The zone to which the user mapping applies.
    Parameters UserMappingRulesParametersArgs
    Specifies the parameters for user mapping rules.
    Rules []UserMappingRulesRuleArgs
    Specifies the list of user mapping rules.
    TestMappingUsers []UserMappingRulesTestMappingUserArgs
    List of user identity for mapping test.
    Zone string
    The zone to which the user mapping applies.
    parameters UserMappingRulesParameters
    Specifies the parameters for user mapping rules.
    rules List<UserMappingRulesRule>
    Specifies the list of user mapping rules.
    testMappingUsers List<UserMappingRulesTestMappingUser>
    List of user identity for mapping test.
    zone String
    The zone to which the user mapping applies.
    parameters UserMappingRulesParameters
    Specifies the parameters for user mapping rules.
    rules UserMappingRulesRule[]
    Specifies the list of user mapping rules.
    testMappingUsers UserMappingRulesTestMappingUser[]
    List of user identity for mapping test.
    zone string
    The zone to which the user mapping applies.
    parameters UserMappingRulesParametersArgs
    Specifies the parameters for user mapping rules.
    rules Sequence[UserMappingRulesRuleArgs]
    Specifies the list of user mapping rules.
    test_mapping_users Sequence[UserMappingRulesTestMappingUserArgs]
    List of user identity for mapping test.
    zone str
    The zone to which the user mapping applies.
    parameters Property Map
    Specifies the parameters for user mapping rules.
    rules List<Property Map>
    Specifies the list of user mapping rules.
    testMappingUsers List<Property Map>
    List of user identity for mapping test.
    zone String
    The zone to which the user mapping applies.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    MappingUsers List<UserMappingRulesMappingUser>
    List of test mapping user result.
    Id string
    The provider-assigned unique ID for this managed resource.
    MappingUsers []UserMappingRulesMappingUser
    List of test mapping user result.
    id String
    The provider-assigned unique ID for this managed resource.
    mappingUsers List<UserMappingRulesMappingUser>
    List of test mapping user result.
    id string
    The provider-assigned unique ID for this managed resource.
    mappingUsers UserMappingRulesMappingUser[]
    List of test mapping user result.
    id str
    The provider-assigned unique ID for this managed resource.
    mapping_users Sequence[UserMappingRulesMappingUser]
    List of test mapping user result.
    id String
    The provider-assigned unique ID for this managed resource.
    mappingUsers List<Property Map>
    List of test mapping user result.

    Look up Existing UserMappingRules Resource

    Get an existing UserMappingRules 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?: UserMappingRulesState, opts?: CustomResourceOptions): UserMappingRules
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            mapping_users: Optional[Sequence[UserMappingRulesMappingUserArgs]] = None,
            parameters: Optional[UserMappingRulesParametersArgs] = None,
            rules: Optional[Sequence[UserMappingRulesRuleArgs]] = None,
            test_mapping_users: Optional[Sequence[UserMappingRulesTestMappingUserArgs]] = None,
            zone: Optional[str] = None) -> UserMappingRules
    func GetUserMappingRules(ctx *Context, name string, id IDInput, state *UserMappingRulesState, opts ...ResourceOption) (*UserMappingRules, error)
    public static UserMappingRules Get(string name, Input<string> id, UserMappingRulesState? state, CustomResourceOptions? opts = null)
    public static UserMappingRules get(String name, Output<String> id, UserMappingRulesState state, CustomResourceOptions options)
    resources:  _:    type: powerscale:UserMappingRules    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:
    MappingUsers List<UserMappingRulesMappingUser>
    List of test mapping user result.
    Parameters UserMappingRulesParameters
    Specifies the parameters for user mapping rules.
    Rules List<UserMappingRulesRule>
    Specifies the list of user mapping rules.
    TestMappingUsers List<UserMappingRulesTestMappingUser>
    List of user identity for mapping test.
    Zone string
    The zone to which the user mapping applies.
    MappingUsers []UserMappingRulesMappingUserArgs
    List of test mapping user result.
    Parameters UserMappingRulesParametersArgs
    Specifies the parameters for user mapping rules.
    Rules []UserMappingRulesRuleArgs
    Specifies the list of user mapping rules.
    TestMappingUsers []UserMappingRulesTestMappingUserArgs
    List of user identity for mapping test.
    Zone string
    The zone to which the user mapping applies.
    mappingUsers List<UserMappingRulesMappingUser>
    List of test mapping user result.
    parameters UserMappingRulesParameters
    Specifies the parameters for user mapping rules.
    rules List<UserMappingRulesRule>
    Specifies the list of user mapping rules.
    testMappingUsers List<UserMappingRulesTestMappingUser>
    List of user identity for mapping test.
    zone String
    The zone to which the user mapping applies.
    mappingUsers UserMappingRulesMappingUser[]
    List of test mapping user result.
    parameters UserMappingRulesParameters
    Specifies the parameters for user mapping rules.
    rules UserMappingRulesRule[]
    Specifies the list of user mapping rules.
    testMappingUsers UserMappingRulesTestMappingUser[]
    List of user identity for mapping test.
    zone string
    The zone to which the user mapping applies.
    mapping_users Sequence[UserMappingRulesMappingUserArgs]
    List of test mapping user result.
    parameters UserMappingRulesParametersArgs
    Specifies the parameters for user mapping rules.
    rules Sequence[UserMappingRulesRuleArgs]
    Specifies the list of user mapping rules.
    test_mapping_users Sequence[UserMappingRulesTestMappingUserArgs]
    List of user identity for mapping test.
    zone str
    The zone to which the user mapping applies.
    mappingUsers List<Property Map>
    List of test mapping user result.
    parameters Property Map
    Specifies the parameters for user mapping rules.
    rules List<Property Map>
    Specifies the list of user mapping rules.
    testMappingUsers List<Property Map>
    List of user identity for mapping test.
    zone String
    The zone to which the user mapping applies.

    Supporting Types

    UserMappingRulesMappingUser, UserMappingRulesMappingUserArgs

    Privileges List<UserMappingRulesMappingUserPrivilege>
    Specifies the system-defined privilege that may be granted to users.
    SupplementalIdentities List<UserMappingRulesMappingUserSupplementalIdentity>
    Specifies the configuration properties for a user.
    User UserMappingRulesMappingUserUser
    Specifies the configuration properties for a user.
    Zid double
    Numeric ID of the access zone which contains this user.
    Zone string
    Name of the access zone which contains this user.
    Privileges []UserMappingRulesMappingUserPrivilege
    Specifies the system-defined privilege that may be granted to users.
    SupplementalIdentities []UserMappingRulesMappingUserSupplementalIdentity
    Specifies the configuration properties for a user.
    User UserMappingRulesMappingUserUser
    Specifies the configuration properties for a user.
    Zid float64
    Numeric ID of the access zone which contains this user.
    Zone string
    Name of the access zone which contains this user.
    privileges List<UserMappingRulesMappingUserPrivilege>
    Specifies the system-defined privilege that may be granted to users.
    supplementalIdentities List<UserMappingRulesMappingUserSupplementalIdentity>
    Specifies the configuration properties for a user.
    user UserMappingRulesMappingUserUser
    Specifies the configuration properties for a user.
    zid Double
    Numeric ID of the access zone which contains this user.
    zone String
    Name of the access zone which contains this user.
    privileges UserMappingRulesMappingUserPrivilege[]
    Specifies the system-defined privilege that may be granted to users.
    supplementalIdentities UserMappingRulesMappingUserSupplementalIdentity[]
    Specifies the configuration properties for a user.
    user UserMappingRulesMappingUserUser
    Specifies the configuration properties for a user.
    zid number
    Numeric ID of the access zone which contains this user.
    zone string
    Name of the access zone which contains this user.
    privileges Sequence[UserMappingRulesMappingUserPrivilege]
    Specifies the system-defined privilege that may be granted to users.
    supplemental_identities Sequence[UserMappingRulesMappingUserSupplementalIdentity]
    Specifies the configuration properties for a user.
    user UserMappingRulesMappingUserUser
    Specifies the configuration properties for a user.
    zid float
    Numeric ID of the access zone which contains this user.
    zone str
    Name of the access zone which contains this user.
    privileges List<Property Map>
    Specifies the system-defined privilege that may be granted to users.
    supplementalIdentities List<Property Map>
    Specifies the configuration properties for a user.
    user Property Map
    Specifies the configuration properties for a user.
    zid Number
    Numeric ID of the access zone which contains this user.
    zone String
    Name of the access zone which contains this user.

    UserMappingRulesMappingUserPrivilege, UserMappingRulesMappingUserPrivilegeArgs

    Id string
    Specifies the ID of the privilege.
    Name string
    Specifies the name of the privilege.
    ReadOnly bool
    True, if the privilege is read-only.
    Id string
    Specifies the ID of the privilege.
    Name string
    Specifies the name of the privilege.
    ReadOnly bool
    True, if the privilege is read-only.
    id String
    Specifies the ID of the privilege.
    name String
    Specifies the name of the privilege.
    readOnly Boolean
    True, if the privilege is read-only.
    id string
    Specifies the ID of the privilege.
    name string
    Specifies the name of the privilege.
    readOnly boolean
    True, if the privilege is read-only.
    id str
    Specifies the ID of the privilege.
    name str
    Specifies the name of the privilege.
    read_only bool
    True, if the privilege is read-only.
    id String
    Specifies the ID of the privilege.
    name String
    Specifies the name of the privilege.
    readOnly Boolean
    True, if the privilege is read-only.

    UserMappingRulesMappingUserSupplementalIdentity, UserMappingRulesMappingUserSupplementalIdentityArgs

    Gid string
    Specifies a user or group GID.
    Name string
    Specifies a user or group name.
    Sid string
    Specifies a user or group SID.
    Gid string
    Specifies a user or group GID.
    Name string
    Specifies a user or group name.
    Sid string
    Specifies a user or group SID.
    gid String
    Specifies a user or group GID.
    name String
    Specifies a user or group name.
    sid String
    Specifies a user or group SID.
    gid string
    Specifies a user or group GID.
    name string
    Specifies a user or group name.
    sid string
    Specifies a user or group SID.
    gid str
    Specifies a user or group GID.
    name str
    Specifies a user or group name.
    sid str
    Specifies a user or group SID.
    gid String
    Specifies a user or group GID.
    name String
    Specifies a user or group name.
    sid String
    Specifies a user or group SID.

    UserMappingRulesMappingUserUser, UserMappingRulesMappingUserUserArgs

    Name string
    Specifies the user name.
    OnDiskUserIdentity string
    Specifies the user identity on disk.
    PrimaryGroupName string
    Specifies the primary group name.
    PrimaryGroupSid string
    Specifies the primary group SID.
    Sid string
    Specifies a user or group SID.
    Uid string
    Specifies the user UID.
    Name string
    Specifies the user name.
    OnDiskUserIdentity string
    Specifies the user identity on disk.
    PrimaryGroupName string
    Specifies the primary group name.
    PrimaryGroupSid string
    Specifies the primary group SID.
    Sid string
    Specifies a user or group SID.
    Uid string
    Specifies the user UID.
    name String
    Specifies the user name.
    onDiskUserIdentity String
    Specifies the user identity on disk.
    primaryGroupName String
    Specifies the primary group name.
    primaryGroupSid String
    Specifies the primary group SID.
    sid String
    Specifies a user or group SID.
    uid String
    Specifies the user UID.
    name string
    Specifies the user name.
    onDiskUserIdentity string
    Specifies the user identity on disk.
    primaryGroupName string
    Specifies the primary group name.
    primaryGroupSid string
    Specifies the primary group SID.
    sid string
    Specifies a user or group SID.
    uid string
    Specifies the user UID.
    name str
    Specifies the user name.
    on_disk_user_identity str
    Specifies the user identity on disk.
    primary_group_name str
    Specifies the primary group name.
    primary_group_sid str
    Specifies the primary group SID.
    sid str
    Specifies a user or group SID.
    uid str
    Specifies the user UID.
    name String
    Specifies the user name.
    onDiskUserIdentity String
    Specifies the user identity on disk.
    primaryGroupName String
    Specifies the primary group name.
    primaryGroupSid String
    Specifies the primary group SID.
    sid String
    Specifies a user or group SID.
    uid String
    Specifies the user UID.

    UserMappingRulesParameters, UserMappingRulesParametersArgs

    DefaultUnixUser UserMappingRulesParametersDefaultUnixUser
    Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
    DefaultUnixUser UserMappingRulesParametersDefaultUnixUser
    Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
    defaultUnixUser UserMappingRulesParametersDefaultUnixUser
    Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
    defaultUnixUser UserMappingRulesParametersDefaultUnixUser
    Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
    default_unix_user UserMappingRulesParametersDefaultUnixUser
    Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
    defaultUnixUser Property Map
    Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.

    UserMappingRulesParametersDefaultUnixUser, UserMappingRulesParametersDefaultUnixUserArgs

    User string
    Specifies the name of the user that is being mapped.
    Domain string
    Specifies the domain of the user that is being mapped.
    User string
    Specifies the name of the user that is being mapped.
    Domain string
    Specifies the domain of the user that is being mapped.
    user String
    Specifies the name of the user that is being mapped.
    domain String
    Specifies the domain of the user that is being mapped.
    user string
    Specifies the name of the user that is being mapped.
    domain string
    Specifies the domain of the user that is being mapped.
    user str
    Specifies the name of the user that is being mapped.
    domain str
    Specifies the domain of the user that is being mapped.
    user String
    Specifies the name of the user that is being mapped.
    domain String
    Specifies the domain of the user that is being mapped.

    UserMappingRulesRule, UserMappingRulesRuleArgs

    Operator string
    Specifies the operator to make rules on specified users or groups.
    TargetUser UserMappingRulesRuleTargetUser
    Specifies the target user information that the rule can be applied to.
    Options UserMappingRulesRuleOptions
    Specifies the mapping options for this user mapping rule.
    SourceUser UserMappingRulesRuleSourceUser
    Specifies the source user information that the rule can be applied from.
    Operator string
    Specifies the operator to make rules on specified users or groups.
    TargetUser UserMappingRulesRuleTargetUser
    Specifies the target user information that the rule can be applied to.
    Options UserMappingRulesRuleOptions
    Specifies the mapping options for this user mapping rule.
    SourceUser UserMappingRulesRuleSourceUser
    Specifies the source user information that the rule can be applied from.
    operator String
    Specifies the operator to make rules on specified users or groups.
    targetUser UserMappingRulesRuleTargetUser
    Specifies the target user information that the rule can be applied to.
    options UserMappingRulesRuleOptions
    Specifies the mapping options for this user mapping rule.
    sourceUser UserMappingRulesRuleSourceUser
    Specifies the source user information that the rule can be applied from.
    operator string
    Specifies the operator to make rules on specified users or groups.
    targetUser UserMappingRulesRuleTargetUser
    Specifies the target user information that the rule can be applied to.
    options UserMappingRulesRuleOptions
    Specifies the mapping options for this user mapping rule.
    sourceUser UserMappingRulesRuleSourceUser
    Specifies the source user information that the rule can be applied from.
    operator str
    Specifies the operator to make rules on specified users or groups.
    target_user UserMappingRulesRuleTargetUser
    Specifies the target user information that the rule can be applied to.
    options UserMappingRulesRuleOptions
    Specifies the mapping options for this user mapping rule.
    source_user UserMappingRulesRuleSourceUser
    Specifies the source user information that the rule can be applied from.
    operator String
    Specifies the operator to make rules on specified users or groups.
    targetUser Property Map
    Specifies the target user information that the rule can be applied to.
    options Property Map
    Specifies the mapping options for this user mapping rule.
    sourceUser Property Map
    Specifies the source user information that the rule can be applied from.

    UserMappingRulesRuleOptions, UserMappingRulesRuleOptionsArgs

    Break bool
    If true, and the rule was applied successfully, stop processing further.
    DefaultUser UserMappingRulesRuleOptionsDefaultUser
    Specifies the default user information that can be applied if the final credentials do not have valid UID and GID information.
    Group bool
    If true, the primary GID and primary group SID should be copied to the existing credential.
    Groups bool
    If true, all additional identifiers should be copied to the existing credential.
    User bool
    If true, the primary UID and primary user SID should be copied to the existing credential.
    Break bool
    If true, and the rule was applied successfully, stop processing further.
    DefaultUser UserMappingRulesRuleOptionsDefaultUser
    Specifies the default user information that can be applied if the final credentials do not have valid UID and GID information.
    Group bool
    If true, the primary GID and primary group SID should be copied to the existing credential.
    Groups bool
    If true, all additional identifiers should be copied to the existing credential.
    User bool
    If true, the primary UID and primary user SID should be copied to the existing credential.
    break_ Boolean
    If true, and the rule was applied successfully, stop processing further.
    defaultUser UserMappingRulesRuleOptionsDefaultUser
    Specifies the default user information that can be applied if the final credentials do not have valid UID and GID information.
    group Boolean
    If true, the primary GID and primary group SID should be copied to the existing credential.
    groups Boolean
    If true, all additional identifiers should be copied to the existing credential.
    user Boolean
    If true, the primary UID and primary user SID should be copied to the existing credential.
    break boolean
    If true, and the rule was applied successfully, stop processing further.
    defaultUser UserMappingRulesRuleOptionsDefaultUser
    Specifies the default user information that can be applied if the final credentials do not have valid UID and GID information.
    group boolean
    If true, the primary GID and primary group SID should be copied to the existing credential.
    groups boolean
    If true, all additional identifiers should be copied to the existing credential.
    user boolean
    If true, the primary UID and primary user SID should be copied to the existing credential.
    break_ bool
    If true, and the rule was applied successfully, stop processing further.
    default_user UserMappingRulesRuleOptionsDefaultUser
    Specifies the default user information that can be applied if the final credentials do not have valid UID and GID information.
    group bool
    If true, the primary GID and primary group SID should be copied to the existing credential.
    groups bool
    If true, all additional identifiers should be copied to the existing credential.
    user bool
    If true, the primary UID and primary user SID should be copied to the existing credential.
    break Boolean
    If true, and the rule was applied successfully, stop processing further.
    defaultUser Property Map
    Specifies the default user information that can be applied if the final credentials do not have valid UID and GID information.
    group Boolean
    If true, the primary GID and primary group SID should be copied to the existing credential.
    groups Boolean
    If true, all additional identifiers should be copied to the existing credential.
    user Boolean
    If true, the primary UID and primary user SID should be copied to the existing credential.

    UserMappingRulesRuleOptionsDefaultUser, UserMappingRulesRuleOptionsDefaultUserArgs

    User string
    Specifies the name of the user that is being mapped.
    Domain string
    Specifies the domain of the user that is being mapped.
    User string
    Specifies the name of the user that is being mapped.
    Domain string
    Specifies the domain of the user that is being mapped.
    user String
    Specifies the name of the user that is being mapped.
    domain String
    Specifies the domain of the user that is being mapped.
    user string
    Specifies the name of the user that is being mapped.
    domain string
    Specifies the domain of the user that is being mapped.
    user str
    Specifies the name of the user that is being mapped.
    domain str
    Specifies the domain of the user that is being mapped.
    user String
    Specifies the name of the user that is being mapped.
    domain String
    Specifies the domain of the user that is being mapped.

    UserMappingRulesRuleSourceUser, UserMappingRulesRuleSourceUserArgs

    User string
    Specifies the name of the user that is being mapped.
    Domain string
    Specifies the domain of the user that is being mapped.
    User string
    Specifies the name of the user that is being mapped.
    Domain string
    Specifies the domain of the user that is being mapped.
    user String
    Specifies the name of the user that is being mapped.
    domain String
    Specifies the domain of the user that is being mapped.
    user string
    Specifies the name of the user that is being mapped.
    domain string
    Specifies the domain of the user that is being mapped.
    user str
    Specifies the name of the user that is being mapped.
    domain str
    Specifies the domain of the user that is being mapped.
    user String
    Specifies the name of the user that is being mapped.
    domain String
    Specifies the domain of the user that is being mapped.

    UserMappingRulesRuleTargetUser, UserMappingRulesRuleTargetUserArgs

    User string
    Specifies the name of the user that is being mapped.
    Domain string
    Specifies the domain of the user that is being mapped.
    User string
    Specifies the name of the user that is being mapped.
    Domain string
    Specifies the domain of the user that is being mapped.
    user String
    Specifies the name of the user that is being mapped.
    domain String
    Specifies the domain of the user that is being mapped.
    user string
    Specifies the name of the user that is being mapped.
    domain string
    Specifies the domain of the user that is being mapped.
    user str
    Specifies the name of the user that is being mapped.
    domain str
    Specifies the domain of the user that is being mapped.
    user String
    Specifies the name of the user that is being mapped.
    domain String
    Specifies the domain of the user that is being mapped.

    UserMappingRulesTestMappingUser, UserMappingRulesTestMappingUserArgs

    Name string
    Specifies a user name.
    Uid double
    Specifies a numeric user identifier.
    Name string
    Specifies a user name.
    Uid float64
    Specifies a numeric user identifier.
    name String
    Specifies a user name.
    uid Double
    Specifies a numeric user identifier.
    name string
    Specifies a user name.
    uid number
    Specifies a numeric user identifier.
    name str
    Specifies a user name.
    uid float
    Specifies a numeric user identifier.
    name String
    Specifies a user name.
    uid Number
    Specifies a numeric user identifier.

    Import

    Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.

    Licensed under the Mozilla Public License Version 2.0 (the “License”);

    you may not use this file except in compliance with the License.

    You may obtain a copy of the License at

    http://mozilla.org/MPL/2.0/
    

    Unless required by applicable law or agreed to in writing, software

    distributed under the License is distributed on an “AS IS” BASIS,

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

    See the License for the specific language governing permissions and

    limitations under the License.

    The command is

    $ pulumi import powerscale:index/userMappingRules:UserMappingRules testUserMappingRules <zoneName>
    

    Example:

    $ pulumi import powerscale:index/userMappingRules:UserMappingRules testUserMappingRules System
    

    after running this command, populate the name field and other required parameters in the config file to start managing this resource.

    Note: running “terraform show” after importing shows the current config/state of the resource. You can copy/paste that config to make it easier to manage the resource.

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

    Package Details

    Repository
    powerscale dell/terraform-provider-powerscale
    License
    Notes
    This Pulumi package is based on the powerscale Terraform Provider.
    powerscale logo
    powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell