powerscale.UserMappingRules
Explore with Pulumi AI
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
User
Mapping Rules Parameters - Specifies the parameters for user mapping rules.
- Rules
List<User
Mapping Rules Rule> - Specifies the list of user mapping rules.
- Test
Mapping List<UserUsers Mapping Rules Test Mapping User> - List of user identity for mapping test.
- Zone string
- The zone to which the user mapping applies.
- Parameters
User
Mapping Rules Parameters Args - Specifies the parameters for user mapping rules.
- Rules
[]User
Mapping Rules Rule Args - Specifies the list of user mapping rules.
- Test
Mapping []UserUsers Mapping Rules Test Mapping User Args - List of user identity for mapping test.
- Zone string
- The zone to which the user mapping applies.
- parameters
User
Mapping Rules Parameters - Specifies the parameters for user mapping rules.
- rules
List<User
Mapping Rules Rule> - Specifies the list of user mapping rules.
- test
Mapping List<UserUsers Mapping Rules Test Mapping User> - List of user identity for mapping test.
- zone String
- The zone to which the user mapping applies.
- parameters
User
Mapping Rules Parameters - Specifies the parameters for user mapping rules.
- rules
User
Mapping Rules Rule[] - Specifies the list of user mapping rules.
- test
Mapping UserUsers Mapping Rules Test Mapping User[] - List of user identity for mapping test.
- zone string
- The zone to which the user mapping applies.
- parameters
User
Mapping Rules Parameters Args - Specifies the parameters for user mapping rules.
- rules
Sequence[User
Mapping Rules Rule Args] - Specifies the list of user mapping rules.
- test_
mapping_ Sequence[Userusers Mapping Rules Test Mapping User Args] - 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.
- test
Mapping List<Property Map>Users - 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.
- Mapping
Users List<UserMapping Rules Mapping User> - List of test mapping user result.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mapping
Users []UserMapping Rules Mapping User - List of test mapping user result.
- id String
- The provider-assigned unique ID for this managed resource.
- mapping
Users List<UserMapping Rules Mapping User> - List of test mapping user result.
- id string
- The provider-assigned unique ID for this managed resource.
- mapping
Users UserMapping Rules Mapping User[] - List of test mapping user result.
- id str
- The provider-assigned unique ID for this managed resource.
- mapping_
users Sequence[UserMapping Rules Mapping User] - List of test mapping user result.
- id String
- The provider-assigned unique ID for this managed resource.
- mapping
Users 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.
- Mapping
Users List<UserMapping Rules Mapping User> - List of test mapping user result.
- Parameters
User
Mapping Rules Parameters - Specifies the parameters for user mapping rules.
- Rules
List<User
Mapping Rules Rule> - Specifies the list of user mapping rules.
- Test
Mapping List<UserUsers Mapping Rules Test Mapping User> - List of user identity for mapping test.
- Zone string
- The zone to which the user mapping applies.
- Mapping
Users []UserMapping Rules Mapping User Args - List of test mapping user result.
- Parameters
User
Mapping Rules Parameters Args - Specifies the parameters for user mapping rules.
- Rules
[]User
Mapping Rules Rule Args - Specifies the list of user mapping rules.
- Test
Mapping []UserUsers Mapping Rules Test Mapping User Args - List of user identity for mapping test.
- Zone string
- The zone to which the user mapping applies.
- mapping
Users List<UserMapping Rules Mapping User> - List of test mapping user result.
- parameters
User
Mapping Rules Parameters - Specifies the parameters for user mapping rules.
- rules
List<User
Mapping Rules Rule> - Specifies the list of user mapping rules.
- test
Mapping List<UserUsers Mapping Rules Test Mapping User> - List of user identity for mapping test.
- zone String
- The zone to which the user mapping applies.
- mapping
Users UserMapping Rules Mapping User[] - List of test mapping user result.
- parameters
User
Mapping Rules Parameters - Specifies the parameters for user mapping rules.
- rules
User
Mapping Rules Rule[] - Specifies the list of user mapping rules.
- test
Mapping UserUsers Mapping Rules Test Mapping User[] - List of user identity for mapping test.
- zone string
- The zone to which the user mapping applies.
- mapping_
users Sequence[UserMapping Rules Mapping User Args] - List of test mapping user result.
- parameters
User
Mapping Rules Parameters Args - Specifies the parameters for user mapping rules.
- rules
Sequence[User
Mapping Rules Rule Args] - Specifies the list of user mapping rules.
- test_
mapping_ Sequence[Userusers Mapping Rules Test Mapping User Args] - List of user identity for mapping test.
- zone str
- The zone to which the user mapping applies.
- mapping
Users 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.
- test
Mapping List<Property Map>Users - List of user identity for mapping test.
- zone String
- The zone to which the user mapping applies.
Supporting Types
UserMappingRulesMappingUser, UserMappingRulesMappingUserArgs
- Privileges
List<User
Mapping Rules Mapping User Privilege> - Specifies the system-defined privilege that may be granted to users.
- Supplemental
Identities List<UserMapping Rules Mapping User Supplemental Identity> - Specifies the configuration properties for a user.
- User
User
Mapping Rules Mapping User User - 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
[]User
Mapping Rules Mapping User Privilege - Specifies the system-defined privilege that may be granted to users.
- Supplemental
Identities []UserMapping Rules Mapping User Supplemental Identity - Specifies the configuration properties for a user.
- User
User
Mapping Rules Mapping User User - 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<User
Mapping Rules Mapping User Privilege> - Specifies the system-defined privilege that may be granted to users.
- supplemental
Identities List<UserMapping Rules Mapping User Supplemental Identity> - Specifies the configuration properties for a user.
- user
User
Mapping Rules Mapping User User - 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
User
Mapping Rules Mapping User Privilege[] - Specifies the system-defined privilege that may be granted to users.
- supplemental
Identities UserMapping Rules Mapping User Supplemental Identity[] - Specifies the configuration properties for a user.
- user
User
Mapping Rules Mapping User User - 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[User
Mapping Rules Mapping User Privilege] - Specifies the system-defined privilege that may be granted to users.
- supplemental_
identities Sequence[UserMapping Rules Mapping User Supplemental Identity] - Specifies the configuration properties for a user.
- user
User
Mapping Rules Mapping User User - 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.
- supplemental
Identities 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
UserMappingRulesMappingUserSupplementalIdentity, UserMappingRulesMappingUserSupplementalIdentityArgs
UserMappingRulesMappingUserUser, UserMappingRulesMappingUserUserArgs
- Name string
- Specifies the user name.
- On
Disk stringUser Identity - Specifies the user identity on disk.
- Primary
Group stringName - Specifies the primary group name.
- Primary
Group stringSid - 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.
- On
Disk stringUser Identity - Specifies the user identity on disk.
- Primary
Group stringName - Specifies the primary group name.
- Primary
Group stringSid - 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.
- on
Disk StringUser Identity - Specifies the user identity on disk.
- primary
Group StringName - Specifies the primary group name.
- primary
Group StringSid - 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.
- on
Disk stringUser Identity - Specifies the user identity on disk.
- primary
Group stringName - Specifies the primary group name.
- primary
Group stringSid - 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_ struser_ identity - Specifies the user identity on disk.
- primary_
group_ strname - Specifies the primary group name.
- primary_
group_ strsid - 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.
- on
Disk StringUser Identity - Specifies the user identity on disk.
- primary
Group StringName - Specifies the primary group name.
- primary
Group StringSid - Specifies the primary group SID.
- sid String
- Specifies a user or group SID.
- uid String
- Specifies the user UID.
UserMappingRulesParameters, UserMappingRulesParametersArgs
- Default
Unix UserUser Mapping Rules Parameters Default Unix User - Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
- Default
Unix UserUser Mapping Rules Parameters Default Unix User - Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
- default
Unix UserUser Mapping Rules Parameters Default Unix User - Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
- default
Unix UserUser Mapping Rules Parameters Default Unix User - Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
- default_
unix_ Useruser Mapping Rules Parameters Default Unix User - Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
- default
Unix Property MapUser - Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
UserMappingRulesParametersDefaultUnixUser, UserMappingRulesParametersDefaultUnixUserArgs
UserMappingRulesRule, UserMappingRulesRuleArgs
- Operator string
- Specifies the operator to make rules on specified users or groups.
- Target
User UserMapping Rules Rule Target User - Specifies the target user information that the rule can be applied to.
- Options
User
Mapping Rules Rule Options - Specifies the mapping options for this user mapping rule.
- Source
User UserMapping Rules Rule Source User - 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.
- Target
User UserMapping Rules Rule Target User - Specifies the target user information that the rule can be applied to.
- Options
User
Mapping Rules Rule Options - Specifies the mapping options for this user mapping rule.
- Source
User UserMapping Rules Rule Source User - 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.
- target
User UserMapping Rules Rule Target User - Specifies the target user information that the rule can be applied to.
- options
User
Mapping Rules Rule Options - Specifies the mapping options for this user mapping rule.
- source
User UserMapping Rules Rule Source User - 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.
- target
User UserMapping Rules Rule Target User - Specifies the target user information that the rule can be applied to.
- options
User
Mapping Rules Rule Options - Specifies the mapping options for this user mapping rule.
- source
User UserMapping Rules Rule Source User - 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 UserMapping Rules Rule Target User - Specifies the target user information that the rule can be applied to.
- options
User
Mapping Rules Rule Options - Specifies the mapping options for this user mapping rule.
- source_
user UserMapping Rules Rule Source User - 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.
- target
User 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.
- source
User 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.
- Default
User UserMapping Rules Rule Options Default User - 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.
- Default
User UserMapping Rules Rule Options Default User - 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.
- default
User UserMapping Rules Rule Options Default User - 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.
- default
User UserMapping Rules Rule Options Default User - 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 UserMapping Rules Rule Options Default User - 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.
- default
User 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
UserMappingRulesRuleSourceUser, UserMappingRulesRuleSourceUserArgs
UserMappingRulesRuleTargetUser, UserMappingRulesRuleTargetUserArgs
UserMappingRulesTestMappingUser, UserMappingRulesTestMappingUserArgs
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.